File: rules

package info (click to toggle)
libnumber-tolerant-perl 1.708-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 372 kB
  • ctags: 87
  • sloc: perl: 778; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
MANDIR  = $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man3

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# remove empty manpages without whatis entry
	for i in constant infinite less_than more_than offset or_less \
		or_more plus_or_minus plus_or_minus_pct to ; do \
		$(RM) -v $(MANDIR)/Number::Tolerant::Type::$$i.3pm; \
	done