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 28 29 30 31 32
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DPKG_EXPORT_BUILDFLAGS = 1
# Make reproducible PDF
# (PDF documentation contains \today macro)
export FORCE_SOURCE_DATE = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
ifneq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
override_dh_auto_configure:
dh_auto_configure -- -Dtests=false
endif
override_dh_auto_install:
dh_auto_install
chmod a-x debian/tmp/usr/share/dia/shapes/Civil/civil_aerator.shape
# Taken from https://salsa.debian.org/gnome-team/epiphany-browser/-/commit/3b48e614e9f161e0f9a4ab0f309305040e2a6168
override_dh_auto_test:
dbus-run-session -- \
xvfb-run -a -s "-screen 0 1024x768x24 -noreset" -e /proc/self/fd/2 \
dh_auto_test
|