1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
# DH_VERBOSE := 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# autoreconf is needed to make the patch to test/Makefile.am effective
%:
dh $@
override_dh_autoreconf:
echo "Do nothing - fails because auf broken upstream autoconf stuff"
override_dh_auto_configure:
# see upstream INSTALL file
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
override_dh_auto_install:
# upstream install does install more files than needed
override_dh_install-indep:
dh_install
# fix path to smalt executable in examples
for py in `ls test/*.py` ; do \
sed 's#PROGNAM = "../src/smalt"#PROGNAM = "/usr/bin/smalt"#' $${py} > debian/smalt-examples/usr/share/doc/smalt/$${py} ; \
done
override_dh_auto_clean:
dh_auto_clean
rm -rf test/*.pyc misc/*.pyc test/tmp
|