another try at getting stripping right
[debian/cpmtools] / debian / rules
index e7b85c773cc2dbb72b3658b9758c48cb63a87cd5..7788bcdbc15314d063c25737932f3ed5fed70de5 100755 (executable)
@@ -4,4 +4,11 @@
        dh $@ --without autoreconf
 
 override_dh_auto_configure:
-       dh_auto_configure -- --datarootdir=/etc/cpmtools
+       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'
+