File: rules

package info (click to toggle)
libhtml-parser-perl 3.75-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 788 kB
  • sloc: ansic: 2,283; perl: 1,653; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	pod2man --utf8 --section 3pm --name HTML::Entities \
		$(CURDIR)/blib/lib/HTML/Entities.pm > $(CURDIR)/blib/man3/HTML::Entities.3pm

# call manually before upload to check if the shipped header files are regeneratable
generate:
	perl $(CURDIR)/mkpfunc  > $(CURDIR)/pfunc.h
	perl $(CURDIR)/mkhctype > $(CURDIR)/hctype.h

.PHONY: generate