File: rules

package info (click to toggle)
libspreadsheet-parseexcel-perl 0.6600-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,788 kB
  • sloc: perl: 9,441; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_test:
	AUTOMATED_TESTING=1 dh_auto_test

override_dh_installexamples:
	dh_installexamples
	sed -i -e '1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/sample/*.pl

override_dh_fixperms:
	dh_fixperms
	find $(TMP)/usr/share/doc/$(PACKAGE)/examples/sample -type f -print0 | \
		xargs -r0 chmod 644