File: rules

package info (click to toggle)
libamazon-sqs-simple-perl 2.04-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 224 kB
  • ctags: 258
  • sloc: perl: 1,116; makefile: 609
file content (16 lines) | stat: -rwxr-xr-x 385 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=$(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

%:
	dh $@

override_dh_auto_clean:
	# recreate Makefile if it exists. path from the author's MacOS are not
	# helpful for us
	[ ! -f Makefile ] || perl Makefile.PL
	dh_auto_clean

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