diff --git a/debian/rules b/debian/rules
index df6bacf06592194cfbc16a8038304356cbfaf74a..cd793efb7395a4b82ebede1b02dcc1f99f130f5b 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
endif
include /usr/share/octave/debian/defs.make
+include /usr/share/dpatch/dpatch.make
-config.status: configure
+config.status: configure $(DPATCH_STAMPFN)
dh_testdir
for file in config.guess config.sub; do \
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp
chmod 644 debian/tmp/usr/share/octave/site/api-v13/m/pfstools/*
# these binaries are not available
- rm debian/tmp/usr/share/man/man1/pfs{in,out}jpeghdr.1
+ rm debian/tmp/usr/share/man/man1/pfs*jpeghdr.1
binary-indep: build install
# nothing to do here
dh_installdocs AUTHORS README TODO doc/faq.txt doc/pfs_format_spec.pdf
dh_installexamples
dh_install --sourcedir=debian/tmp --list-missing
- dh_installman debian/pfsglview.1
+ # these files have been installed twice
+ rm -f debian/pfstools/usr/bin/pfs*view debian/pfstools/usr/bin/pfsv \
+ debian/pfstools/usr/share/man/man1/pfsv.1 \
+ debian/pfstools/usr/share/man/man1/pfs*view.1
+ dh_installman -ppfsglview debian/pfsglview.1
dh_link
dh_strip --dbg-package=pfstools-dbg
# mkoctfile removes any symbol table and relocation information from the