+dupmerge (1.73-2) UNRELEASED; urgency=low
+
+ * debian/rules: no need to pass the version manually to help2man.
+
+ -- gregor herrmann <gregoa@debian.org> Sun, 03 Jul 2011 00:26:11 +0200
+
dupmerge (1.73-1) unstable; urgency=low
* Initial release.
#!/usr/bin/make -f
-VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \([^-]\+\)-.*/\1/p')
-
%:
dh $@
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