| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
PACKAGE = $(shell dh_listpackages) |
| 4 |
TMP = $(CURDIR)/debian/$(PACKAGE) |
| 5 |
|
| 6 |
SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip) |
| 7 |
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t)) |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --buildsystem=perl_build |
| 11 |
|
| 12 |
override_dh_auto_test: |
| 13 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 14 |
RES_OPTIONS=attempts:0 dh_auto_test -- --test_files "$(TEST_FILES)" |
| 15 |
endif |
| 16 |
|
| 17 |
override_dh_auto_install: |
| 18 |
dh_auto_install |
| 19 |
# remove empty manpage without whatis entry |
| 20 |
$(RM) -v $(TMP)/usr/share/man/man3/Bio::PrimerDesigner::Config.3pm |