File: rules

package info (click to toggle)
python-mapnik 1:0.0~20180723-588fc9062-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,768 kB
  • sloc: python: 12,085; cpp: 5,721; sh: 101; makefile: 19
file content (40 lines) | stat: -rwxr-xr-x 731 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
37
38
39
40
#!/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.0

%:
	dh $@ \
		--with python2,python3 \
		--buildsystem=pybuild \
		--parallel

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_install:
	dh_install --list-missing

override_dh_strip:
	dh_strip --no-automatic-dbgsym