From b32d18a72b6222a70a8d3db21887a36ccd2d5ecc Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 28 Oct 2015 22:38:13 -0300 Subject: release 0.0.16: add misc:Built-Using substvar also depend on perl, while we're at it. --- debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 49e5292..ccb9394 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,14 @@ #!/usr/bin/make -f DESTDIR=$(CURDIR)/debian/tmp - +VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p') %: dh $@ override_dh_auto_build: - pod2man -c Debhelper --section=1 dh_elpa > dh_elpa.1 + pod2man -c Debhelper --section=1 dh_elpa.in > dh_elpa.1 + sed s/@HELPER_VERSION@/${VERSION}/ < dh_elpa.in > dh_elpa + chmod 755 dh_elpa override_dh_install: dh_install -- cgit v1.2.3