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 32 33 34 35 36 37 38
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_auto_clean:
dh_auto_clean
rm -f config.log
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
$(NULL)
touch --date="@$(SOURCE_DATE_EPOCH)" accounting.texi
override_dh_auto_build:
dh_auto_build
$(MAKE) info
makeinfo --html accounting.texi -o html
override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp
rm -f debian/tmp/usr/bin/last
rm -f debian/tmp/usr/share/man/man1/last.1
override_dh_installman:
dh_installman ac.1 accton.8 dump-acct.8 dump-utmp.8 lastcomm.1 sa.8
override_dh_installinit:
dh_installinit -- start 20 2 3 4 5 . stop 20 1 .
|