see if this works
authorBdale Garbee <bdale@gag.com>
Tue, 18 Aug 2009 06:06:24 +0000 (00:06 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 18 Aug 2009 06:06:24 +0000 (00:06 -0600)
debian/changelog
debian/rules

index cf8a6ee928b01c9ae2c14837255ffaf28fae5cb5..ed55ca6e9878edafdc8ace6d4bb9b96ca2f7d531 100644 (file)
@@ -1,4 +1,4 @@
-altos (0) unstable; urgency=low
+altos (0.4-82-gc6514ac) unstable; urgency=low
 
   * Initial packaging
 
index b81278a156de9ca1c288feb5caf604580d831496..bf9827e1ff8b73ae217afda8402e393500c9924f 100755 (executable)
@@ -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: