1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
# -*- makefile -*-
EXTRAFLAGS := $(strip $(shell if ! dpkg -L libmapnik-dev 2>/dev/null | grep -q mapnik/map.hpp; then echo '--disable-mapnik'; fi))
%:
dh $@
override_dh_autoreconf:
dh_autoreconf
intltoolize --force
override_dh_auto_configure:
dh_auto_configure -- $(EXTRAFLAGS)
# Ignore tests on Big Endian since one test doesn't work there
# https://github.com/viking-gps/viking/issues/62
override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH_ENDIAN),little)
dh_auto_test
else
-dh_auto_test
endif
|