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 27
|
#!/usr/bin/make -f
include /usr/share/dpkg/buildflags.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
-Dauto_features=enabled \
-Dinternal_synctex=false \
-Dps=enabled \
-Dintrospection=true \
-Dgtk_doc=true
override_dh_makeshlibs:
dh_makeshlibs \
-X /usr/lib/$(DEB_HOST_MULTIARCH)/evince/
execute_after_dh_install:
install -m 0644 -D debian/apparmor-profile debian/evince/etc/apparmor.d/usr.bin.evince
install -m 0644 -D debian/apparmor-profile.abstraction debian/evince/etc/apparmor.d/abstractions/evince
install -m 0644 -D debian/evince.apport debian/evince/usr/share/apport/package-hooks/source_evince.py
dh_apparmor --profile-name=usr.bin.evince -pevince
|