#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --with-gtk=3.0 override_dh_auto_test: # run test but disable failing -dh_auto_test execute_before_dh_auto_build: # prevent unnecessary updates of PO files touch po/*.po # preserve it for possible second build cp src/m17n.xml.in src/m17n.xml.in.bak execute_after_dh_auto_clean: rm -f po/*.gmo po/stamp-po if [ -f src/m17n.xml.in.bak ]; then \ mv -f src/m17n.xml.in.bak src/m17n.xml.in; \ fi