File: rules

package info (click to toggle)
viking 1.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,708 kB
  • ctags: 10,705
  • sloc: ansic: 59,508; sh: 6,732; xml: 4,007; makefile: 702; python: 294; cpp: 246; perl: 213
file content (22 lines) | stat: -rwxr-xr-x 543 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
#!/usr/bin/make -f
# -*- makefile -*-

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

EXTRAFLAGS := $(strip $(shell if ! dpkg -L libmapnik-dev 2>/dev/null | grep -q mapnik/map.hpp; then echo '--disable-mapnik'; fi))
%:
	dh $@ --with autotools_dev,autoreconf

override_dh_auto_test:
	# The test suite is buggy.
	-dh_auto_test

override_dh_auto_clean:
	dh_auto_clean

override_dh_auto_configure:
	intltoolize --force
	dh_auto_configure -- $(shell dpkg-buildflags --export=configure) $(EXTRAFLAGS)

.PHONY: override_dh_auto_test