File: rules

package info (click to toggle)
libbusiness-paypal-api-perl 0.76-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 496 kB
  • sloc: perl: 2,495; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	sed -i '1s|^#!/usr/bin/env perl;\?|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/get-transaction-details.pl \
		$(TMP)/usr/share/doc/$(PACKAGE)/examples/myapp.pl
	sed -i '1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/search-transactions.pl