File: rules

package info (click to toggle)
mapnik-vector-tile 1.6.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,364 kB
  • sloc: cpp: 19,098; sh: 112; makefile: 82; xml: 58; python: 18
file content (33 lines) | stat: -rwxr-xr-x 629 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
28
29
30
31
32
33
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Verbose output
export V=1

%:
	dh $@ --parallel

override_dh_auto_clean:
	rm -f deps/gyp/gyp
	-rmdir deps/gyp
	-rmdir deps
	rm -rf build
	dh_auto_clean

override_dh_auto_build:
	-mkdir -p deps/gyp
	-ln -s /usr/bin/gyp deps/gyp/gyp
	dh_auto_build -- release_base

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python debian/create-raster.py
	dh_auto_test || echo "Ignoring test failures"
endif

override_dh_installexamples:
	dh_installexamples
	chmod 644 debian/*/usr/share/doc/*/examples/*/Makefile