File: rules

package info (click to toggle)
viking 1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,808 kB
  • sloc: ansic: 94,089; sh: 7,075; xml: 1,565; makefile: 812; python: 358; cpp: 250; perl: 213
file content (14 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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)