debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | TEST_FILES = $(filter-out $(shell grep -v '^\#' debian/tests/pkg-perl/smoke-skip), $(shell echo t/*.t)) |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=perl_build |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 10 | http_proxy= dh_auto_test -- --test_files="$(TEST_FILES)" |
| 11 | endif |
| 12 | |
| 13 | override_dh_installexamples: |
| 14 | dh_installexamples |
| 15 | sed -i 's:#!/usr/local/bin/perl:#!/usr/bin/perl:' debian/*/usr/share/doc/*/examples/* |