another try at getting stripping right
[debian/cpmtools] / debian / rules
index 2f892819c9879bfd50df0cdc00a1ef256aa48aba..7788bcdbc15314d063c25737932f3ed5fed70de5 100755 (executable)
@@ -2,3 +2,13 @@
 
 %:
        dh $@ --without autoreconf
+
+override_dh_auto_configure:
+       dh_auto_configure -- --datarootdir=/etc/cpmtools --with-libdsk=/usr
+
+override_dh_auto_install:
+       make install \
+               DESTDIR=$(CURDIR)/debian/cpmtools \
+               AM_UPDATE_INFO_DIR=no \
+               'INSTALL=install --strip-program=true'
+