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
include /usr/share/dpkg/default.mk
%:
dh $@
override_dh_auto_clean:
dh_auto_clean
if [ -x psort/bin/psort.debsave ] ; then \
mv psort/bin/psort.debsave psort/bin/psort ; \
fi
override_dh_auto_configure:
cp -a psort/bin/psort psort/bin/psort.debsave
dh_auto_configure
override_dh_auto_build:
# hack around the issue that configure injects wrong root dir /usr/local/psortb
mv psort/bin/psort.debsave psort/bin/psort
dh_auto_build
override_dh_fixperms:
dh_fixperms
chmod +x debian/$(DEB_SOURCE)/usr/lib/psort/conf/analysis/signal/archaea/check-sig
|