#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk %: dh $@ execute_after_dh_auto_build: pandoc --standalone --from markdown -f markdown-smart --to man \ -M title:"WATTSI(1) WATTSI $(shell cat debian/wattsi.version)~$(DEB_VERSION)" \ -M date:"$$(date -d'@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)" debian/wattsi.1.md > debian/wattsi.1 execute_before_dh_gencontrol: fpc-depends override_dh_gencontrol: dh_gencontrol -- -v$(shell cat debian/wattsi.version)~$(DEB_VERSION)