File: rules

package info (click to toggle)
libxml-xql-perl 0.68-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 756 kB
  • ctags: 793
  • sloc: perl: 5,842; xml: 4,007; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	$(RM) -r $(CURDIR)/debian/libxml-xql-perl/usr/bin

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