#!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) # skip tests that need access to network device SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip) TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t)) %: dh $@ override_dh_auto_test: dh_auto_test -- TEST_FILES="$(TEST_FILES)" override_dh_auto_install: dh_auto_install $(RM) -v $(TMP)/usr/bin/*.pl rmdir -v --parents --ignore-fail-on-non-empty $(TMP)/usr/bin