Permalink
Browse files

man pages util fixed

  • Loading branch information...
mom040267 committed Feb 20, 2017
1 parent 556458f commit 2ff0150c9804c839a398801be79863b96d04875e
Showing with 15 additions and 23 deletions.
  1. +15 −23 make-man.sh
View
@@ -1,29 +1,21 @@
#!/bin/sh
pushd man/man1 >/dev/null 2>&1
rm -rf ~0/*.1
mkdir -p man/man1
rm -rf man/man1/*1
for _tMB in {admin,server,utils} ;
do
txt2man -s 1 -t TURN \
-I turn${_tMB} \
-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" ~1/README.turn${_tMB} | \
sed -e 's/-/\\-/g' > turn${_tMB}.1 ;
done
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
for _tLNK in {uclient,peer,stunclient,natdiscovery,oauth} ;
do
ln -s turnutils.1 turnutils_${_tLNK}.1 ;
done
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
ln -s turnserver.1 coturn.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
popd >/dev/null 2>&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 ../..

0 comments on commit 2ff0150

Please sign in to comment.