summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.head/00-dist.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-29 17:37:41 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-29 17:37:41 -0400
commit5cc0d6fb359da72dc12474ca34a22f9d45008c6e (patch)
treee36623f4e18cfa304f35debc32ae7ba8c390466c /build-aux/Makefile.once.head/00-dist.mk
parente216c0d216ba90f5f8a89ad7e4aa8804a33d41c4 (diff)
rename PACKAGE->dist.name VERSION->dist.version
Diffstat (limited to 'build-aux/Makefile.once.head/00-dist.mk')
-rw-r--r--build-aux/Makefile.once.head/00-dist.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/build-aux/Makefile.once.head/00-dist.mk b/build-aux/Makefile.once.head/00-dist.mk
index 98fc6b3b4e..6a54b7d0b9 100644
--- a/build-aux/Makefile.once.head/00-dist.mk
+++ b/build-aux/Makefile.once.head/00-dist.mk
@@ -16,8 +16,15 @@
# Developer configuration
dist.exts ?= .tar.gz
-PACKAGE ?= YOUR_PACKAGE_NAME
-VERSION ?= 0.0.1
+dist.name ?= $(PACKAGE)
+dist.version ?= $(VERSION)
+
+ifeq ($(dist.name),)
+$(error dist.name must be set)
+endif
+ifeq ($(dist.version),)
+$(error dist.name must be set)
+endif
# User configuration