Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PKG:=$(shell dh_listpackages)
4 TMP:=$(CURDIR)/debian/$(PKG)
5 EG:=$(TMP)/usr/share/doc/$(PKG)/examples/
6
7 %:
8 dh $@
9
10 override_dh_installexamples:
11 dh_installexamples
12 chmod a+x $(EG)/*.pl
13 sed -i '1s|/usr/local/bin/perl|/usr/bin/perl|' $(EG)/*.pl