build: allow to specify custom tags
authorMaciej Małecki <me@mmalecki.com>
Fri, 21 Dec 2012 01:56:47 +0000 (02:56 +0100)
committerisaacs <i@izs.me>
Thu, 27 Dec 2012 04:15:17 +0000 (20:15 -0800)
commitc2e71dd51d8db42ab19cd9e5243af9a121ba0247
treeb6fe253b685c12b71a62af40f07c0c3dc1bb93df
parent54740c8b247c9ce50a4400142004fd05ec098e21
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).
configure
node.gyp
src/node_version.h