diff options
author | Christian Pointner <equinox@anytun.org> | 2009-11-08 18:57:19 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-11-08 18:57:19 +0000 |
commit | 3ba8f15327dd72c7c4463939bc48e097aebea45a (patch) | |
tree | 8128892112c131a3e806bbc7e3c820841ae15928 /doc/Makefile | |
parent | manpage cleanups (diff) |
further manpage improvements
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 8 |
1 files changed, 7 insertions, 1 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 |