#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_install: dh_auto_install rm -f $(CURDIR)/debian/tmp/usr/share/doc/fotoxx/copyright rm -f $(CURDIR)/debian/tmp/usr/share/fotoxx/data/README override_dh_link: dh_link -pfotoxx \ usr/share/fotoxx/html/userguide-en.html \ usr/share/doc/fotoxx/userguide-en.html dh_link --remaining-packages override_dh_fixperms-arch: dh_fixperms -a chmod 644 $(CURDIR)/debian/fotoxx/usr/share/metainfo/*