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
#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =
%:
dh $@ --with autoreconf
build-indep:
# pass
override_dh_auto_configure-arch:
dh_auto_configure -a -- \
--prefix= \
--enable-emergency-shell \
--enable-fallback-shell
override_dh_auto_test-arch:
# unshare: unshare failed: Operation not permitted
# dh_auto_test -a --no-parallel
execute_after_dh_install-arch:
rm debian/finit/etc/finit.d/Makefile* debian/finit/etc/finit.d/available/Makefile*
chmod -x debian/finit/lib/finit/rescue.conf
execute_after_dh_installexamples-arch:
chmod -x debian/finit/usr/share/doc/finit/examples/sample.conf
|