another try at getting stripping right
[debian/cpmtools] / debian / rules
index 2d33f6ac8992b7da84b39a5bca0742c4962d3349..7788bcdbc15314d063c25737932f3ed5fed70de5 100755 (executable)
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
 %:
-       dh $@
+       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'
+