File: rules

package info (click to toggle)
libxml-tidy-perl 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 256 kB
  • ctags: 38
  • sloc: perl: 783; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 303 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

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

%:
	dh $@

override_dh_installexamples:
	dh_installexamples
	sed -i -e '1i #!/usr/bin/perl\n' $(EXAMPLES)/*.pl

override_dh_fixperms:
	dh_fixperms
	chmod a+x $(EXAMPLES)/*.pl