#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all # dynamic exception specifications were removed in C++17 export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++14 %: dh $@ # use gnulib-tool to replace the vendored gnulib we removed execute_before_dh_autoreconf: gnulib-tool --m4-base=m4/gnulib --source-base=code/gnulib --libtool \ --import relocatable-prog # rebuild manual execute_after_dh_auto_build-indep: cd doc && pdflatex manual && bibtex manual && \ pdflatex manual && pdflatex manual # prepend latte- to binaries with generic names execute_after_dh_auto_install-arch: \ $(patsubst %, debian/tmp/usr/bin/latte-%, count integrate triangulate) debian/tmp/usr/bin/latte-%: debian/tmp/usr/bin/% mv $< $@