#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@

execute_before_dh_installman:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	help2man --name="Generate fonts from a SVG icons set" \
		--no-info \
		--output=debian/svgtofont.1 \
		--version-string=$(DEB_VERSION_UPSTREAM) \
		./debian/node-svgtofont/usr/share/nodejs/svgtofont/lib/cli.js
endif

