From 9474fbc91d7f3a2943f2b6215cce6d6b4d977235 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Sat, 2 Jul 2011 22:28:37 +0000 Subject: [PATCH] debian/rules: no need to pass the version manually to help2man. --- debian/changelog | 6 ++++++ debian/rules | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index d4d54bb..4e16a5d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dupmerge (1.73-2) UNRELEASED; urgency=low + + * debian/rules: no need to pass the version manually to help2man. + + -- gregor herrmann Sun, 03 Jul 2011 00:26:11 +0200 + dupmerge (1.73-1) unstable; urgency=low * Initial release. diff --git a/debian/rules b/debian/rules index ba23013..a10ab02 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,5 @@ #!/usr/bin/make -f -VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \([^-]\+\)-.*/\1/p') - %: dh $@ @@ -9,4 +7,4 @@ override_dh_auto_build: CFLAGS="$(CFLAGS)" $(CC) -o dupmerge dupmerge.c help2man --output=$(CURDIR)/debian/dupmerge.1 \ --no-info --section=1 --name="reclaim disk space by linking identical files together" \ - --version-string=$(VERSION) $(CURDIR)/dupmerge + --version-option="-V" $(CURDIR)/dupmerge -- 2.20.1