File: rules

package info (click to toggle)
python-mapnik 1%3A0.0~20200224-7da019cf9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,036 kB
  • sloc: python: 12,085; cpp: 5,718; sh: 101; makefile: 16
file content (36 lines) | stat: -rwxr-xr-x 659 bytes parent folder | download
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