[svn-inject] Applying Debian modifications (1.73-1) to trunk
[debian/dupmerge.git] / debian / rules
1 #!/usr/bin/make -f
2
3 VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \([^-]\+\)-.*/\1/p')
4
5 %:
6         dh $@
7
8 override_dh_auto_build:
9         CFLAGS="$(CFLAGS)" $(CC) -o dupmerge dupmerge.c
10         help2man --output=$(CURDIR)/debian/dupmerge.1 \
11                 --no-info --section=1 --name="reclaim disk space by linking identical files together" \
12                 --version-string=$(VERSION) $(CURDIR)/dupmerge