1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_install:
cp BaitFilter-v* debian/baitfisher/usr/bin/BaitFilter
cp BaitFisher-v* debian/baitfisher/usr/bin/BaitFisher
dh_install
for sh in `grep -Rl '#!/usr/bin/bash' debian/*/usr/*` ; do \
sed -i '1s?^#!/usr/bin/bash?#!/bin/bash?' $${sh} ; \
done
override_dh_installman:
help2man --no-discard-stderr -o BaitFilter.1 ./BaitFilter-v*
help2man --no-discard-stderr -o BaitFisher.1 ./BaitFisher-v*
dh_installman
|