File: rules

package info (click to toggle)
libwww-perl 6.52-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 972 kB
  • sloc: perl: 4,063; makefile: 10; sh: 6
file content (17 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

unexport PERL_LWP_SSL_VERIFY_HOSTNAME

%:
	dh $@

override_dh_auto_test:
	# disable DNS queries, Test::RequiresInternet
	RES_OPTIONS=attempts:0 NO_NETWORK_TESTING=1 dh_auto_test

override_dh_installexamples:
	dh_installexamples
	sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*