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
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
MAN=debian/dumb-init.1
override_dh_clean:
$(RM) -rv .cache
dh_clean \
$(MAN)
$(MAN):
help2man \
--name 'a minimal init system for Linux containers' \
--no-discard-stderr \
--include debian/help2man \
--no-info \
./dumb-init > $@
override_dh_installman: $(MAN)
dh_installman
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
PATH=.:$$PATH py.test tests/
endif
|