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
|
#!/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
export PYBUILD_NAME=mapnik
# Enable Cairo support
export PYCAIRO=true
# Use system fonts instead of mapnik specific fonts
export SYSTEM_FONTS=/usr/share/fonts
# Custom mapnik libraries
export LIB_DIR_NAME=/mapnik/3.1
%:
dh $@ \
--with python3 \
--buildsystem=pybuild
override_dh_clean:
dh_clean mapnik/paths.py
override_dh_auto_clean:
# Skip
override_dh_auto_test:
dh_auto_test || echo "Ignoring test failures"
override_dh_strip:
dh_strip --no-automatic-dbgsym
|