File: rules

package info (click to toggle)
imposm-parser 1.0.7%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 484 kB
  • ctags: 546
  • sloc: cpp: 7,346; python: 925; makefile: 12
file content (25 lines) | stat: -rwxr-xr-x 476 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
#!/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,-pie

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"