#!/usr/bin/make -f

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

TEST_FILES=$(filter-out t/remote.t,$(shell echo t/*.t))

%:
	dh $@ --buildsystem=perl_build

override_dh_auto_test:
	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
