File: rules

package info (click to toggle)
libmail-imapclient-perl 3.25-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,420 kB
  • ctags: 302
  • sloc: perl: 19,967; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_fixperms:
	dh_fixperms
	find $(TMP) -name '*.grammar' | xargs --no-run-if-empty chmod 644
	find $(TMP) -name '*.pod' | xargs --no-run-if-empty chmod 644

override_dh_installexamples:
	dh_installexamples
	sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*