| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
DEBDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/DEBDIR. = $(CURDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/CURDIR.)/debian |
| 6 |
DOCSDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/DOCSDIR. = $(DEBDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/DEBDIR.)/praat-doc/usr/share/doc/praat/docs |
| 7 |
|
| 8 |
include /usr/share/dpkg/architecture.mk |
| 9 |
-include /usr/share/dpkg/buildtools.mk |
| 10 |
PKG_CONFIGscip-debian debian praat 7.0+dfsg-1 praat/rules/PKG_CONFIG. ?= pkg-config |
| 11 |
|
| 12 |
export PREFIXscip-debian debian praat 7.0+dfsg-1 praat/rules/PREFIX. = /usr |
| 13 |
export USE_SYS_ZLIBscip-debian debian praat 7.0+dfsg-1 praat/rules/USE_SYS_ZLIB. = yes |
| 14 |
|
| 15 |
ifneq (,$(filterscip-debian debian praat 7.0+dfsg-1 praat/rules/filter. $(DEB_HOST_ARCHscip-debian debian praat 7.0+dfsg-1 praat/rules/DEB_HOST_ARCH.), i386)) |
| 16 |
export DEB_CXXFLAGS_MAINT_APPEND=-ffloat-store |
| 17 |
endif |
| 18 |
|
| 19 |
ifneq (,$(filterscip-debian debian praat 7.0+dfsg-1 praat/rules/filter. $(DEB_HOST_ARCHscip-debian debian praat 7.0+dfsg-1 praat/rules/DEB_HOST_ARCH.), armel)) |
| 20 |
export DEB_LDFLAGS_MAINT_APPEND=-latomic |
| 21 |
endif |
| 22 |
|
| 23 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian praat 7.0+dfsg-1 praat/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 24 |
|
| 25 |
%scip-debian debian praat 7.0+dfsg-1 praat/rules/`%`().: |
| 26 |
dh $@ |
| 27 |
|
| 28 |
%.1scip-debian debian praat 7.0+dfsg-1 praat/rules/`%.1`().: $(DEBDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/DEBDIR.)/%.md |
| 29 |
|
| 30 |
pandoc --standalone --to man $< -o $@ |
| 31 |
|
| 32 |
execute_before_dh_installmanscip-debian debian praat 7.0+dfsg-1 praat/rules/execute_before_dh_installman().: praat.1 praat-launch.1 |
| 33 |
|
| 34 |
execute_after_dh_installchangelogsscip-debian debian praat 7.0+dfsg-1 praat/rules/execute_after_dh_installchangelogs().: |
| 35 |
|
| 36 |
sed -n '/^R"~~~(/,/^)~~~"/{/^R"~~~(/!{/^)~~~"/!p}}' fon/manual_whatsnew.cpp > debian/what-is-new |
| 37 |
dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). debian/what-is-new |
| 38 |
|
| 39 |
ifeq (,$(filterscip-debian debian praat 7.0+dfsg-1 praat/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian praat 7.0+dfsg-1 praat/rules/DEB_BUILD_OPTIONS.))) |
| 40 |
override_dh_auto_testscip-debian debian praat 7.0+dfsg-1 praat/rules/override_dh_auto_test().: |
| 41 |
PRAAT=$(CURDIRscip-debian debian praat 7.0+dfsg-1 praat/rules/CURDIR.)/praat debian/tests/run-tests |
| 42 |
endif |
| 43 |
|
| 44 |
execute_after_dh_installdeb-indepscip-debian debian praat 7.0+dfsg-1 praat/rules/execute_after_dh_installdeb-indep().: |
| 45 |
ifeq (,$(filterscip-debian debian praat 7.0+dfsg-1 praat/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian praat 7.0+dfsg-1 praat/rules/DEB_BUILD_OPTIONS.))) |
| 46 |
|
| 47 |
rm $(DOCSDIR)/LICENSE.txt |
| 48 |
|
| 49 |
rm $(DOCSDIR)/Welcome.html $(DOCSDIR)/praat.html |
| 50 |
endif |