forked from coturn/coturn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-man.sh
executable file
·21 lines (14 loc) · 1.09 KB
/
make-man.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
mkdir -p man/man1
rm -rf man/man1/*1
txt2man -s 1 -t TURN -I turnserver -I turnadmin -I turnutils -I turnutils_uclient -I turnutils_stunclient -I turnutils_rfc5769check -I turnutils_peer -I turnutils_natdiscovery -I turnutils_oauth -B "TURN Server" README.turnserver | sed -e 's/-/\\-/g' > man/man1/turnserver.1
txt2man -s 1 -t TURN -I turnserver -I turnadmin -I turnutils -I turnutils_uclient -I turnutils_stunclient -I turnutils_rfc5769check -I turnutils_peer -I turnutils_natdiscovery -I turnutils_oauth -B "TURN Server" README.turnadmin | sed -e 's/-/\\-/g'> man/man1/turnadmin.1
txt2man -s 1 -t TURN -I turnserver -I turnadmin -I turnutils -I turnutils_uclient -I turnutils_stunclient -I turnutils_rfc5769check -I turnutils_peer -I turnutils_natdiscovery -I turnutils_oauth -B "TURN Server" README.turnutils | sed -e 's/-/\\-/g' > man/man1/turnutils.1
cd man/man1
ln -s turnutils.1 turnutils_uclient.1
ln -s turnutils.1 turnutils_peer.1
ln -s turnutils.1 turnutils_stunclient.1
ln -s turnutils.1 turnutils_natdiscovery.1
ln -s turnutils.1 turnutils_oauth.1
ln -s turnserver.1 coturn.1
cd ../..