summaryrefslogtreecommitdiff
path: root/version.make
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-10-09 17:57:43 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-10-10 14:37:49 -0700
commit524df2190b855c4096449a1aaa7b92a15875f7a7 (patch)
treee86f0892239e8ee915a47e15991cb1345b4614c1 /version.make
parenta44741c83773989430f5e3ac4a8a83c93b1341ff (diff)
downloadtmwa-524df2190b855c4096449a1aaa7b92a15875f7a7.tar.gz
tmwa-524df2190b855c4096449a1aaa7b92a15875f7a7.tar.bz2
tmwa-524df2190b855c4096449a1aaa7b92a15875f7a7.tar.xz
tmwa-524df2190b855c4096449a1aaa7b92a15875f7a7.zip
Add make target for tarballs
Diffstat (limited to 'version.make')
-rw-r--r--version.make5
1 files changed, 2 insertions, 3 deletions
diff --git a/version.make b/version.make
index 04ba9c3..8df7143 100644
--- a/version.make
+++ b/version.make
@@ -1,5 +1,3 @@
-# TODO replace this file in tarballs
-# for now, only git builds will work.
VERSION_FULL := $(shell cd ${SRC_DIR}; git describe --tags HEAD)
VERSION_HASH := $(shell cd ${SRC_DIR}; git rev-parse HEAD)
@@ -11,7 +9,8 @@ VERSION_DEVEL := $(word 4,${version_bits})
ifeq "${VERSION_DEVEL}" ""
VERSION_DEVEL := 0
endif
-VERSION_FULL += $(shell cd ${SRC_DIR}; git diff --quiet HEAD || echo dirty)
+# tracking dirty trees is more trouble than it's worth
+#VERSION_FULL += $(shell cd ${SRC_DIR}; git diff --quiet HEAD || echo dirty)
VENDOR := Vanilla
VENDOR_VERSION := 0