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 30 31
|
#!/usr/bin/make -f
# -*- makefile -*-
PACKAGE = backupninja
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
MKTEMP=/bin/mktemp BASH=/bin/bash SED=/bin/sed \
AWK=/usr/bin/awk STAT=/usr/bin/stat \
--libdir=\$${prefix}/lib \
--libexecdir=\$${prefix}/lib
override_dh_auto_install:
dh_auto_install
chmod a-x $(TMP)/usr/lib/backupninja/parseini
rm $(TMP)/usr/share/backupninja/example.*
override_dh_compress:
dh_compress -Xexample
override_dh_fixperms:
dh_fixperms
chmod 2770 $(TMP)/etc/backup.d
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
|