Add manpages for aiocoap-client and aiocoap-proxy apps
Agustin Henze
6 years ago
6 | 6 |
python3-all,
|
7 | 7 |
python3-setuptools,
|
8 | 8 |
python3-sphinx,
|
|
9 |
help2man,
|
9 | 10 |
Standards-Version: 3.9.8
|
10 | 11 |
X-Python-Version: >= 2.7
|
11 | 12 |
X-Python3-Version: >= 3.3
|
|
0 |
debian/aiocoap-client.man
|
|
1 |
debian/aiocoap-proxy.man
|
4 | 4 |
#export DH_VERBOSE=1
|
5 | 5 |
|
6 | 6 |
export PYBUILD_NAME=aiocoap
|
|
7 |
UPSTREAM_VERSION := $(shell dpkg-parsechangelog -S Version | cut -d "-" -f 1)
|
7 | 8 |
|
8 | 9 |
|
9 | 10 |
%:
|
10 | 11 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
|
11 | 12 |
|
|
13 |
override_dh_installman:
|
|
14 |
help2man --name="A simple command-line tool for interacting with CoAP servers" \
|
|
15 |
--version-string=$(UPSTREAM_VERSION) ./aiocoap-client > debian/aiocoap-client.man
|
|
16 |
help2man --name="A plain CoAP proxy that can work both as forward and as reverse proxy" \
|
|
17 |
--version-string=$(UPSTREAM_VERSION) ./aiocoap-proxy > debian/aiocoap-proxy.man
|
|
18 |
dh_installman
|
|
19 |
|
12 | 20 |
override_dh_auto_clean:
|
13 | 21 |
dh_auto_clean --all
|
14 | 22 |
rm -rf doc/_build
|
|
23 |
rm -f debian/*.man
|
15 | 24 |
|
16 | 25 |
override_dh_auto_install:
|
17 | 26 |
dh_auto_install
|