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 33 34 35 36 37 38 39 40 41
|
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_CFLAGS_MAINT_APPEND=-I/usr/include/hdf5/serial
export DEB_CXXFLAGS_MAINT_APPEND=-lnetcdf
include /usr/share/dpkg/pkg-info.mk
UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
export VERBOSE=1
%:
dh $@ --with pkgkde_symbolshelper
override_dh_auto_configure:
dh_auto_configure -- --disable-filter-testing
override_dh_auto_build-arch:
dh_auto_build --arch
override_dh_auto_build-indep:
dh_auto_build --indep
(cd cxx4 && doxygen)
override_dh_auto_test:
dh_auto_test --max-parallel=1 || echo "Ignoring test failures"
override_dh_install:
$(RM) debian/tmp/usr/lib/*/*.la
dh_install
override_dh_makeshlibs:
dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)
|