This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: Add node.d and node.1 to installer

  • Loading branch information...
1 parent f70fa3b commit 8bec3febd848c4917c22c68d9de6d737f945b81f @isaacs isaacs committed Jun 14, 2012
Showing with 10 additions and 1 deletion.
  1. +10 −1 tools/installer.js
View
@@ -101,6 +101,14 @@ if (cmd === 'install') {
'deps/uv/include/uv.h'
], 'include/node/');
+ // man page
+ copy(['doc/node.1'], 'share/man/man1/');
+
+ // dtrace
+ if (!process.platform.match(/^linux/)) {
+ copy(['src/node.d'], 'lib/dtrace/');
+ }
+
// Private uv headers
copy([
'deps/uv/include/uv-private/eio.h', 'deps/uv/include/uv-private/ev.h',
@@ -147,7 +155,8 @@ if (cmd === 'install') {
} else {
remove([
'bin/node', 'bin/npm', 'bin/node-waf',
- 'include/node/*', 'lib/node_modules', 'lib/node'
+ 'include/node/*', 'lib/node_modules', 'lib/node',
+ 'lib/dtrace/node.d', 'share/man/man1/node.1'
]);
}

0 comments on commit 8bec3fe

Please sign in to comment.