File: rules

package info (click to toggle)
libencode-arabic-perl 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 488 kB
  • ctags: 72
  • sloc: perl: 4,100; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# Remove the provided {encode,decode}.pl perl scripts and their manpages,
	# since the they will be installed as examples instead:
	rm -rf debian/libencode-arabic-perl/usr/bin/
	rm -rf debian/libencode-arabic-perl/usr/share/man/man1/

override_dh_installexamples:
	dh_installexamples
	# Fix interpreter shebang lines:
	sed -i '1s|^#! perl|#!/usr/bin/perl|' debian/libencode-arabic-perl/usr/share/doc/libencode-arabic-perl/examples/*