#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --buildsystem=meson # FPSpreadsheet, which is not packaged in Debian, comes as the component # tarball "fpspreadsheet": put it where Meson expects the subproject # described by subprojects/fpspreadsheet.wrap, with its Meson overlay. # Free Pascal does not use LDFLAGS: ask its linker for -z now (it already # links with -z relro). override_dh_auto_configure: mkdir -p subprojects/FPSpreadsheet cp -a fpspreadsheet/. subprojects/FPSpreadsheet/ cp subprojects/packagefiles/fpspreadsheet/meson.build subprojects/FPSpreadsheet/ dh_auto_configure -- -Dfpc_args=-k-znow execute_after_dh_auto_clean: rm -rf subprojects/FPSpreadsheet # The test of cisdichloroethene.pgo needs about 4 GB of memory override_dh_auto_test: dh_auto_test -- --no-suite large