#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk include /usr/share/gnulib/debian/gnulib-dpkg.mk export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --without autoreconf --builddirectory=build pull: ./bootstrap --gnulib-srcdir=$(GNULIB_DEB_DEBIAN_GNULIB) --pull --skip-po gen: ./bootstrap --gnulib-srcdir=$(GNULIB_DEB_DEBIAN_GNULIB) --gen execute_before_dh_auto_configure: dh_gnulib_clone pull dh_gnulib_patch gen ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --reload-all-buildenv-variables --builddirectory=build-native -- --disable-gtk-doc dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build --builddirectory=build-native mkdir -p build/doc cp build-native/doc/idn.1 build-native/doc/idn-help.texi build/doc/ endif CONFIGURE_FLAGS = \ --disable-rpath \ --with-packager=Debian \ --with-packager-bug-reports=https://bugs.debian.org/ \ --with-packager-version="$(DEB_VERSION)" override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS)