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
|