source: config-package-dev/debian/rules @ ce5e23d

Revision ce5e23d, 314 bytes checked in by Geoffrey Thomas <geofft@…>, 12 years ago (diff)
Add manpage to packaging (following dh-autoreconf)
  • Property mode set to 100755
Line 
1#!/usr/bin/make -f
2version := $(shell dpkg-parsechangelog | sed -nr 's/^Version: (.*)/\1/p')
3pod2man := pod2man -r "config-package-dev $(version)" -c config-package-dev
4
5%:
6        dh $@
7
8override_dh_auto_build:
9        $(pod2man) --section=1 dh_configpackage dh_configpackage.1
10
11override_dh_clean:
12        dh_clean dh_configpackage.1
Note: See TracBrowser for help on using the repository browser.