File: rules

package info (click to toggle)
node-millstone 0.6.17-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 9,472 kB
  • sloc: makefile: 13; sh: 1
file content (24 lines) | stat: -rwxr-xr-x 557 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
#!/usr/bin/make -f
# -*- makefile -*-

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

# disable DNS requests during tests
export RES_OPTIONS = attempts:0

%:
	dh $@

override_dh_manpages:
	marked-man debian/millstone.1.md > debian/millstone.1

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	./debian/tests/mocha
endif

override_dh_clean:
	dh_clean
	rm -rf test/zipped-json/layers/ test/macosx-zipped/layers/
	find test/data/ -name *ne_10m_admin_0_boundary_lines_disputed_areas* -not -name [^.]*.zip -exec rm '{}' \;