File: rules

package info (click to toggle)
libbio-primerdesigner-perl 0.07-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 320 kB
  • ctags: 83
  • sloc: perl: 1,378; makefile: 85
file content (18 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

%:
	dh $@ --buildsystem=perl_build

override_dh_auto_test:
	RES_OPTIONS=attempts:0 dh_auto_test -- --test_files "$(TEST_FILES)"

override_dh_auto_install:
	dh_auto_install
	# remove empty manpage without whatis entry
	$(RM) -v $(TMP)/usr/share/man/man3/Bio::PrimerDesigner::Config.3pm