Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
build: Add node.d and node.1 to installer
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 14, 2012
1 parent f70fa3b commit 8bec3fe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tools/installer.js
Expand Up @@ -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',
Expand Down Expand Up @@ -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'
]);
}

Expand Down

0 comments on commit 8bec3fe

Please sign in to comment.