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
package = m4
export DEB_BUILD_MAINT_OPTIONS = hardening=-format
%:
dh $@
override_dh_auto_clean:
[ ! -f Makefile ] || $(MAKE) distclean
rm -rf doc/$(package)
override_dh_autoreconf:
override_dh_auto_configure:
dh_auto_configure -- --disable-rpath
execute_before_dh_auto_test:
ifeq ($(DEB_BUILD_ARCH),hppa)
rm -f checks/stackovf.test
endif
override_dh_installdocs-indep:
cd doc && makeinfo --html --output=$(package) $(package).texi
dh_installdocs -i doc/$(package)/*.html
override_dh_installdocs-arch:
dh_installdocs -a NEWS README TODO THANKS
override_dh_installchangelogs:
dh_installchangelogs --no-trim
|