1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@ --with autoreconf,python2
override_dh_auto_configure:
dh_auto_configure -- --includedir=\$${prefix}/include/$(DEB_HOST_MULTIARCH)
# Ignore testsuite failure on big-endian archs
ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH),hppa mips powerpc powerpcspe ppc64 s390x sparc sparc64))
override_dh_auto_test:
-dh_auto_test
endif
override_dh_auto_install:
dh_auto_install
for file in $$(find debian/tmp/usr/lib/ -name "*.la"); do \
rm $$file ; \
done
|