From 8827ab44ebc9de466278d5fcde56717dbf9274e6 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Sun, 11 Sep 2011 08:26:28 +0200 Subject: Actually pass version to pod2man --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 7eb42b2..9429095 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,8 @@ #!/usr/bin/make -f + +DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') +VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') + %: dh $@ --with python2 @@ -12,4 +16,3 @@ override_dh_auto_clean: -rm rapid-photo-downloader.1 -rm -rf build/ dh_auto_clean - -- cgit v1.2.3