blob: af662d8d953a33283be1c5c5a3e581928c7907a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/make -f
version := $(shell dpkg-parsechangelog | sed -nr 's/^Version: (.*)/\1/p')
pod2man := pod2man -r "dh-illumos v$(version)" -c dh-illumos
%:
dh $@
override_dh_auto_build:
$(pod2man) --section=1 dh_illumos_gate dh_illumos_gate.1
$(pod2man) --section=1 dh_illumos_make dh_illumos_make.1
$(pod2man) --section=1 ld-gnu-to-sun.pod ld-gnu-to-sun.1
override_dh_clean:
dh_clean dh_illumos_gate.1 dh_illumos_make.1 ld-gnu-to-sun.1
|