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
# -*- makefile -*-
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
export DEB_CFLAGS_MAINT_STRIP = -g
export DEB_CXXFLAGS_MAINT_STRIP = -g
export DEB_CFLAGS_MAINT_APPEND = -gstabs
export DEB_CXXFLAGS_MAINT_APPEND = -gstabs
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_TESTING=OFF
override_dh_auto_test:
# Disable dh_auto_test, fourth test never ends
# xvfb-run -a dh_auto_test
:
execute_after_dh_auto_install:
# do not ship helper scripts for extracting l10n catalogs
find debian/tmp -name Messages.sh -print -delete
|