#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all ## inspired from mpfr material ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else ifeq ($(DEB_HOST_ARCH), alpha) CFLAGS += -mieee else ifeq ($(DEB_HOST_ARCH),sha4) CFLAGS += -mieee else CFLAGS := $(subst -O2,-O3,$(CFLAGS)) endif export ACLOCAL_PATH=/usr/share/gnulib/m4 default: @uscan --no-conf --dehs --report || true %: dh $@ --with autoreconf --builddirectory=_build --parallel override_dh_auto_configure: dh_auto_configure -- --enable-maintainer-mode override_dh_auto_build-indep: $(MAKE) -C _build/docs doc override_dh_auto_test-indep: override_dh_auto_install-indep: override_dh_compress-indep: dh_compress -X.pdf -Xexamples get-orig-source: uscan --no-conf --download-current-version --compression xz --verbose