File: rules

package info (click to toggle)
libclass-prototyped-perl 1.13-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 544 kB
  • sloc: perl: 1,456; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (4)
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_auto_install:
	dh_auto_install
	rm $(TMP)/usr/share/perl5/Class/Prototyped/why.pod
	rm $(TMP)/usr/share/man/man3/Class::Prototyped::why.3pm

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