summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2009-08-18 00:06:24 -0600
committerBdale Garbee <bdale@gag.com>2009-08-18 00:06:24 -0600
commitf762a9dfb3b9c81e443a85cd434154598c737ed8 (patch)
tree0c23b458929eae87e0b8b1d71a2ac519cbe2a36f /debian/rules
parentc6514ac5c47b44456a15d0f627f274eca769122e (diff)
see if this works
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
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: