1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
EXTRAFLAGS := $(strip $(shell if ! dpkg -L libmapnik-dev 2>/dev/null | grep -q mapnik/map.hpp; then echo '--disable-mapnik'; fi))
%:
dh $@ --with autotools_dev,autoreconf
override_dh_auto_test:
# The test suite is buggy.
-dh_auto_test
override_dh_auto_clean:
dh_auto_clean
override_dh_auto_configure:
intltoolize --force
dh_auto_configure -- $(shell dpkg-buildflags --export=configure) $(EXTRAFLAGS)
.PHONY: override_dh_auto_test
|