diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-03-05 11:05:50 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-05 14:43:27 -0800 |
commit | f9ba9f7badf40ad6360526095b7bec8e3319752b (patch) | |
tree | eddc8f99f9b19c0dead92e8223e98b931f8ce8c6 /Makefile | |
parent | 312289b791a5924eec5748fbd19ad6867ff37320 (diff) | |
download | node-new-f9ba9f7badf40ad6360526095b7bec8e3319752b.tar.gz |
build: define nightly tag external to build system
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -225,8 +225,8 @@ ARCH=x86 endif endif TARNAME=node-$(VERSION) -ifeq ($(NIGHTLY),1) -TAG = nightly-$(shell date "+%Y%m%d") +ifdef NIGHTLY +TAG = nightly-$(NIGHTLY) TARNAME=node-$(VERSION)-$(TAG) endif TARBALL=$(TARNAME).tar.gz @@ -251,7 +251,7 @@ release-only: echo "" >&2 ; \ exit 1 ; \ fi - @if [ "$(NIGHTLY)" = "1" -o "$(RELEASE)" = "1" ]; then \ + @if [ "$(NIGHTLY)" != "" -o "$(RELEASE)" = "1" ]; then \ exit 0; \ else \ echo "" >&2 ; \ |