mirror of https://github.com/nodejs/node.git
Install wafadmin into $PREFIX/lib/node/wafadmin
This is in preparation for a special node_waf script for building external modules. Also change system library path to $PREFIX/lib/node/librariespull/22966/head
parent
eeaa267cbe
commit
6f17ca51c3
|
@ -53,7 +53,7 @@ clearInterval = clearTimeout;
|
||||||
// Module
|
// Module
|
||||||
|
|
||||||
node.libraryPaths = [ node.path.join(ENV["HOME"], ".node_libraries")
|
node.libraryPaths = [ node.path.join(ENV["HOME"], ".node_libraries")
|
||||||
, node.path.join(node.installPrefix, "lib/node_libraries")
|
, node.path.join(node.installPrefix, "lib/node/libraries")
|
||||||
, "/"
|
, "/"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
7
wscript
7
wscript
|
@ -372,4 +372,9 @@ def build(bld):
|
||||||
""");
|
""");
|
||||||
bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1');
|
bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1');
|
||||||
bld.install_files('${PREFIX}/bin/', 'bin/*', chmod=0755);
|
bld.install_files('${PREFIX}/bin/', 'bin/*', chmod=0755);
|
||||||
bld.install_files('${PREFIX}/lib/node_libraries/', 'lib/*.js');
|
|
||||||
|
# Why am I using two lines? Because WAF SUCKS.
|
||||||
|
bld.install_files('${PREFIX}/lib/node/wafadmin', 'tools/wafadmin/*.py');
|
||||||
|
bld.install_files('${PREFIX}/lib/node/wafadmin/Tools', 'tools/wafadmin/Tools/*.py');
|
||||||
|
|
||||||
|
bld.install_files('${PREFIX}/lib/node/libraries/', 'lib/*.js');
|
||||||
|
|
Loading…
Reference in New Issue