blob: 1cde0cdd741f1a0ac89634d4ff9de6c39e06d9e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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:
perl -c dh_illumos_make dh_illumos_gate
$(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
|