changelog for cleaned up clean target
[debian/cpmtools] / debian / rules
index 2f892819c9879bfd50df0cdc00a1ef256aa48aba..5e7e2bd5505c97923142677e6e6b7c952889a41c 100755 (executable)
@@ -2,3 +2,17 @@
 
 %:
        dh $@ --without autoreconf
+
+override_dh_auto_configure:
+       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'
+