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
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --builddirectory=build
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/geeqie/html
dh_auto_install
rm -f \
$(CURDIR)/debian/tmp/usr/share/geeqie/template.desktop \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie-common/TODO \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie-common/README.md \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie/COPYING \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie-common/AUTHORS \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie/html/lua-api/Geeqie.tag \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie/ChangeLog \
$(CURDIR)/debian/tmp/usr/share/doc/geeqie/ChangeLog.html
override_dh_compress:
# Readme is shown from program, do not compress it
dh_compress -pgeeqie -XREADME -XAUTHORS -XCOPYING usr/share/doc/geeqie/changelog.Debian
dh_compress -pgeeqie-common -XREADME -XAUTHORS -XCOPYING usr/share/doc/geeqie-common/changelog.Debian
|