File: rules

package info (click to toggle)
libbio-primerdesigner-perl 0.07-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 320 kB
  • sloc: perl: 1,378; makefile: 87
file content (20 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	RES_OPTIONS=attempts:0 dh_auto_test -- --test_files "$(TEST_FILES)"
endif

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