build: allow to specify custom tags
authorMaciej Małecki <me@mmalecki.com>
Fri, 21 Dec 2012 01:56:47 +0000 (02:56 +0100)
committerNathan Rajlich <nathan@tootallnate.net>
Fri, 21 Dec 2012 20:44:33 +0000 (12:44 -0800)
commitf84bf5b6b174af0639813c9f3167f3593f2c5eb4
tree55b5c2185d043296fdcf031d595a09670d350951
parent70eb227e80f10cf51288a5a3018e858480099df4
build: allow to specify custom tags

When building custom `node` versions (e.g., floating features/fixes from
different versions) it's often useful to specify a custom tag which
easily identifies build when invoking `node -v`.

Introduce a way to specify this tag in `node_version.h` file or by
running `./configure --tag="<tag>"`. Insert it right after the patch
version (and before `-pre`, if build is not a release).

Closes #4452.
configure
node.gyp
src/node_version.h