File: rules

package info (click to toggle)
libbio-das-lite-perl 2.11-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468 kB
  • sloc: xml: 1,299; perl: 1,152; makefile: 31
file content (15 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

TEST_FILES = $(filter-out $(shell grep -v '^\#' debian/tests/pkg-perl/smoke-skip), $(shell echo t/*.t))

%:
	dh $@ --buildsystem=perl_build

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	http_proxy= dh_auto_test -- --test_files="$(TEST_FILES)"
endif

override_dh_installexamples:
	dh_installexamples
	sed -i 's:#!/usr/local/bin/perl:#!/usr/bin/perl:' debian/*/usr/share/doc/*/examples/*