1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
%:
# ensure we build only arch:any packages
# safeguard against converting the package again to arch:all
# cf. #596257 and #708730
dh $@ -a
override_dh_auto_test:
PERL_ANYEVENT_LOOP_TESTS=1 xvfb-run -a dh_auto_test
override_dh_installexamples:
dh_installexamples
sed -i '1s|^#!/opt/perl/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
sed -i '1s|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
|