summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-09-11 08:26:28 +0200
committerJulien Valroff <julien@kirya.net>2011-09-11 08:26:28 +0200
commit8827ab44ebc9de466278d5fcde56717dbf9274e6 (patch)
tree7d1db276e8d44ea79cd6d7885739231b9aceba48
parent1bf2ba9209ec4949dfe8eaa97d900cae9dc7d436 (diff)
Actually pass version to pod2man
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules5
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 7f17b07..a20d525 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rapid-photo-downloader (0.4.1-2) unstable; urgency=low
+
+ * Actually pass version to pod2man
+
+ -- Julien Valroff <julien@debian.org> Sun, 11 Sep 2011 08:26:05 +0200
+
rapid-photo-downloader (0.4.1-1) unstable; urgency=low
* New upstream release
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
-