changelog for cleaned up clean target
[debian/cpmtools] / debian / rules
index f8a3ff1f2391095c126638f8d1efef39f999c67b..5e7e2bd5505c97923142677e6e6b7c952889a41c 100755 (executable)
@@ -4,5 +4,15 @@
        dh $@ --without autoreconf
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
-               --datarootdir=/etc/cpmtools
+       dh_auto_configure -- --datarootdir=/etc/cpmtools --with-libdsk=/usr
+
+override_dh_auto_clean:
+       rm -f *.1 *.5
+       dh_auto_clean
+
+override_dh_auto_install:
+       make install \
+               DESTDIR=$(CURDIR)/debian/cpmtools \
+               AM_UPDATE_INFO_DIR=no \
+               'INSTALL=install --strip-program=true'
+