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
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with php
override_dh_autoreconf:
dh_autoreconf ./autogen.sh
override_dh_auto_test:
# Ignore test failures on problematic architectures only
ifneq (,$(filter $(DEB_BUILD_ARCH),arm64 armel armhf mips mips64el mipsel ppc64el s390x powerpc ppc64 x32))
REPORT_EXIT_STATUS=1 NO_INTERACTION=1 dh_auto_test || echo "Ignoring test failures"
else
REPORT_EXIT_STATUS=1 NO_INTERACTION=1 dh_auto_test
endif
override_dh_auto_install:
# phpize uses INSTALL_ROOT instead of DESTDIR
$(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/php-geos
override_dh_install:
dh_install --list-missing
|