File: rules

package info (click to toggle)
libproc-invokeeditor-perl 1.13-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: perl: 292; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

PKG:=$(shell dh_listpackages)
TMP:=$(CURDIR)/debian/$(PKG)
EG:=$(TMP)/usr/share/doc/$(PKG)/examples/

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	chmod a+x $(EG)/*.pl
	sed -i '1s|/usr/local/bin/perl|/usr/bin/perl|' $(EG)/*.pl