File: rules

package info (click to toggle)
libpegex-perl 0.63-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 980 kB
  • ctags: 428
  • sloc: perl: 4,489; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 553 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
20
21
22
23
24
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install

	# rm manpages which are not related to modules
	# the PODs are still installed but the created manpages
	# are syntactically invalid
	for M in \
		Pegex::API.3pm \
		Pegex::Miscellany.3pm \
		Pegex::Overview.3pm \
		Pegex::Resources.3pm \
		Pegex::Syntax.3pm \
		Pegex::Tutorial.3pm \
		Pegex::Tutorial::Calculator.3pm \
		Pegex::Tutorial::JSON.3pm \
	; do $(RM) -v $(TMP)/usr/share/man/man3/$$M ; done