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 39 40 41
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Force fixed %%CreationDate in ps files created by dvips (for a Reproducible Build)
export FORCE_SOURCE_DATE=1
override_dh_auto_configure:
#Avoid conflicting with upstreams build system
override_dh_auto_test:
#Upstream states test is only for their local development not a functional test
override_dh_auto_build:
$(MAKE)
cd doc && $(MAKE) festival.info festival.html festival.ps
override_dh_auto_clean:
-QUILT_PATCHES=debian/patches quilt push 01-config_config.diff
[ ! -f Makefile ] || $(MAKE) clean
override_dh_clean:
find . -name make.depend -print0 | xargs -0r $(RM)
find . -name make.include -print0 | xargs -0r $(RM)
find bin/ \( -name SCCS -o -name RCS -o -name CVS \) -prune \
-o -type f ! -name Makefile -print0 | xargs -0r $(RM)
dh_clean
override_dh_installinit:
#Init script has BAD security Debian switches it off by default
override_dh_installchangelogs:
dh_installchangelogs -a -k NEWS
dh_installchangelogs -pfestival-doc -a -k NEWS
override_dh_installexamples:
dh_installexamples -pfestival examples/* -Xexamples/text2utt -Xexamples/text2wave debian/festival.init debian/festival.scm
%:
dh $@ --ddeb-migration='festival-dbg (<< 1:2.4~release-3~)'
#
|