File: rules

package info (click to toggle)
viking 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 14,364 kB
  • sloc: ansic: 64,436; sh: 6,939; xml: 4,565; makefile: 781; python: 356; cpp: 246; perl: 213
file content (23 lines) | stat: -rwxr-xr-x 520 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf
	intltoolize --force

override_dh_auto_configure:
	dh_auto_configure -- $(EXTRAFLAGS)

# Ignore tests on Big Endian since one test doesn't work there
# https://github.com/viking-gps/viking/issues/62
override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH_ENDIAN),little)
	dh_auto_test
else
	-dh_auto_test
endif