File: rules

package info (click to toggle)
pyspatialite 3.0.1-13
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 760 kB
  • sloc: ansic: 3,956; python: 2,899; makefile: 63
file content (21 lines) | stat: -rwxr-xr-x 429 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
#!/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=pyspatialite

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

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/*/usr/pyspatialite-doc/
	rm -rf debian/*/usr/lib/python*/*-packages/pyspatialite/test/