3
PACKAGE = $(shell dh_listpackages)
4
TMP = $(CURDIR)/debian/$(PACKAGE)
9
override_dh_installexamples:
11
sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/Makefile.PL
12
sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/t/foo.t
16
chmod -R 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
17
chmod 0755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/include
18
chmod 0755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/include/foo
19
chmod 0755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/lib
20
chmod 0755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/src
21
chmod 0755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/t