File: rules

package info (click to toggle)
imposm-parser 1.0.7%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 488 kB
  • sloc: cpp: 7,346; python: 925; makefile: 12
file content (24 lines) | stat: -rwxr-xr-x 470 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
#!/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=imposm.parser

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

override_dh_auto_install:
	dh_auto_install

	find $(CURDIR)/debian/python-imposm-parser/ -name "test.*" -delete

override_dh_auto_test:
	dh_auto_test || echo "Ignoring test failures"