File: rules

package info (click to toggle)
libxml-libxml-perl 2.0128%2Bdfsg-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,136 kB
  • sloc: perl: 6,160; ansic: 3,752; xml: 182; sh: 13; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# skip tests that need files we remove in the +dfsg version
SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_configure:
	SKIP_SAX_INSTALL=1 dh_auto_configure

override_dh_auto_test:
	dh_auto_test -- TEST_FILES="$(TEST_FILES)"