#!/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/
