File: rules

package info (click to toggle)
libbit-vector-perl 7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 1,008 kB
  • ctags: 367
  • sloc: perl: 6,703; ansic: 3,654; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' -e 's,!perl,!/usr/bin/perl,' \
		$(TMP)/usr/share/doc/$(PACKAGE)/examples/*