aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-30 14:45:42 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-04-30 14:45:42 -0500
commita27d577da8cf4f1c7f9784a043ecf02d71a81ca6 (patch)
tree3c5d4d8a0c61e9b99a66b0b846eae4ee27664788
parent8b9349208696e5caed1a8b34f066cec4ee642194 (diff)
Build: fix the dist target
The dist target now creates an archive based on the version setting. This makes it possible to create an archive identical to the ones github generates once the release is tagged.
-rw-r--r--mk/dist.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/dist.mk b/mk/dist.mk
index aa07dbb1..13ec40ab 100644
--- a/mk/dist.mk
+++ b/mk/dist.mk
@@ -2,7 +2,7 @@
# Copyright (c) 2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
-GITREF?= HEAD
+GITREF?= ${VERSION}
DISTPREFIX?= ${NAME}-${VERSION}
DISTFILE?= ${DISTPREFIX}.tar.bz2