summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules3
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index cf8a6ee9..ed55ca6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-altos (0) unstable; urgency=low
+altos (0.4-82-gc6514ac) unstable; urgency=low
* Initial packaging
diff --git a/debian/rules b/debian/rules
index b81278a1..bf9827e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
# -*- makefile -*-
export DH_VERBOSE=1
+PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'| sed 's/+dfsg//')
configure: configure-stamp
configure-stamp:
@@ -13,7 +14,7 @@ build: build-stamp
build-stamp: configure-stamp
dh_testdir
- $(MAKE)
+ $(MAKE) VERSION=$(PKG_VERSION)
touch $@
clean: