1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/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/*
|