aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-05-04 08:11:35 +0900
committerGravatar David Bremner <david@tethera.net>2014-05-04 08:11:35 +0900
commit55354534953fd631ae1f51cf0f46732f00fde9c2 (patch)
tree0d478909199301af1de45f7bf36ba7b7568d7f9e /Makefile.local
parent2983a85eed24242b1c5f5d12fa6f0ed8c3d5253d (diff)
build: use UPSTREAM_TAG and not VERSION to generate tarball
The latter can have "~" in it, which is not legal for a git tag.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local
index 877a9790..086b5a11 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -80,8 +80,8 @@ version.stamp: $(srcdir)/version
echo $(VERSION) > $@
$(TAR_FILE):
- if git tag -v $(VERSION) >/dev/null 2>&1; then \
- ref=$(VERSION); \
+ if git tag -v $(UPSTREAM_TAG) >/dev/null 2>&1; then \
+ ref=$(UPSTREAM_TAG); \
else \
ref="HEAD" ; \
echo "Warning: No signed tag for $(VERSION)"; \