summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-11-08 18:57:19 +0000
committerChristian Pointner <equinox@anytun.org>2009-11-08 18:57:19 +0000
commit3ba8f15327dd72c7c4463939bc48e097aebea45a (patch)
tree8128892112c131a3e806bbc7e3c820841ae15928
parentmanpage cleanups (diff)
further manpage improvements
-rw-r--r--doc/Makefile8
-rw-r--r--doc/uanytun.8.txt60
-rw-r--r--version1
3 files changed, 39 insertions, 30 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 7ed7c50..280b6a5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -33,10 +33,16 @@
## along with uAnytun. If not, see <http://www.gnu.org/licenses/>.
##
+VERSION=$(shell cat ../version)
+
all: manpage
uanytun.8: uanytun.8.txt
- a2x -f manpage uanytun.8.txt
+ a2x -f manpage $<
+ @ sed -i -e 's/\[FIXME: source\]/uanytun ${VERSION}/' $@
+ @ sed -i -e 's/\[FIXME: manual\]/uanytun user manual/' $@
+ @ sed -i -e 's/^uanytun$$/\\fBuanytun\\fR/' $@
+ @ sed -i -e 's/^ \[ \([^ ]*\)/ [ \\fB\1\\fR/' $@
manpage: uanytun.8
diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt
index 0b58650..61b884d 100644
--- a/doc/uanytun.8.txt
+++ b/doc/uanytun.8.txt
@@ -8,35 +8,37 @@ uanytun - micro anycast tunneling daemon
SYNOPSIS
--------
-*uanytun*
-[ *-h|--help* ]
-[ *-D|--nodaemonize* ]
-[ *-u|--username* <username> ]
-[ *-g|--groupname* <groupname> ]
-[ *-C|--chroot* <path> ]
-[ *-P|--write-pid* <filename> ]
-[ *-L|--log* <target>:<level>[,<param1>[,<param2>[..]]] ]
-[ *-i|--interface* <ip-address> ]
-[ *-p|--port* <port> ]
-[ *-r|--remote-host* <hostname|ip> ]
-[ *-o|--remote-port* <port> ]
-[ *-4|--ipv4-only* ]
-[ *-6|--ipv6-only* ]
-[ *-d|--dev* <name> ]
-[ *-t|--type* <tun|tap> ]
-[ *-n|--ifconfig* <local>/<prefix> ]
-[ *-x|--post-up-script* <script> ]
-[ *-m|--mux* <mux-id> ]
-[ *-s|--sender-id* <sender id> ]
-[ *-w|--window-size* <window size> ]
-[ *-k|--kd-prf* <kd-prf type> ]
-[ *-e|--role <role>* ]
-[ *-E|--passphrase* <pass phrase> ]
-[ *-K|--key* <master key> ]
-[ *-A|--salt* <master salt> ]
-[ *-c|--cipher* <cipher type> ]
-[ *-a|--auth-algo* <algo type> ]
-[ *-b|--auth-tag-length* <length> ]
+....
+uanytun
+ [ -h|--help ]
+ [ -D|--nodaemonize ]
+ [ -u|--username <username> ]
+ [ -g|--groupname <groupname> ]
+ [ -C|--chroot <path> ]
+ [ -P|--write-pid <filename> ]
+ [ -L|--log <target>:<level>[,<param1>[,<param2>[..]]] ]
+ [ -i|--interface <ip-address> ]
+ [ -p|--port <port> ]
+ [ -r|--remote-host <hostname|ip> ]
+ [ -o|--remote-port <port> ]
+ [ -4|--ipv4-only ]
+ [ -6|--ipv6-only ]
+ [ -d|--dev <name> ]
+ [ -t|--type <tun|tap> ]
+ [ -n|--ifconfig <local>/<prefix> ]
+ [ -x|--post-up-script <script> ]
+ [ -m|--mux <mux-id> ]
+ [ -s|--sender-id <sender id> ]
+ [ -w|--window-size <window size> ]
+ [ -k|--kd-prf <kd-prf type> ]
+ [ -e|--role <role> ]
+ [ -E|--passphrase <pass phrase> ]
+ [ -K|--key <master key> ]
+ [ -A|--salt <master salt> ]
+ [ -c|--cipher <cipher type> ]
+ [ -a|--auth-algo <algo type> ]
+ [ -b|--auth-tag-length <length> ]
+....
DESCRIPTION
-----------
diff --git a/version b/version
new file mode 100644
index 0000000..b5d9bfd
--- /dev/null
+++ b/version
@@ -0,0 +1 @@
+trunk