File: rules

package info (click to toggle)
imposm 2.6.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 988 kB
  • ctags: 1,625
  • sloc: python: 4,164; cpp: 878; makefile: 13; sql: 1
file content (27 lines) | stat: -rwxr-xr-x 529 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
#!/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

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

override_dh_auto_test:
	dh_auto_test || echo "Ignoring test failures"

override_dh_auto_install:
	dh_auto_install

	# Move imposm & imposm-psqldb to imposm package
	mkdir -p debian/imposm/usr
	mv debian/python-imposm/usr/bin debian/imposm/usr