[doc] Fix preproc-man & owlps.t2t

This commit is contained in:
Matteo Cypriani 2013-01-11 16:21:38 -05:00
parent 867ee1cd80
commit a3b76dd9ec
2 changed files with 6 additions and 7 deletions

View File

@ -7,15 +7,14 @@ OwlPS {{OWLPS_VERSION}}
% Man title & section:
%!postproc(man): "^(\.TH.*) 1 " ".TH owlps 7 "
% Fix .TH, add NAME section and TABLE OF CONTENTS title:
%!postproc(man): "^(\.TH.*)$" "\1 OwlPS's\ User\ Manual\n.SH NAME\nowlps - Introduction to the Owl Positioning System\n\n.SH TABLE OF CONTENTS"
%!postproc(man): "^(\.TH.*)$" "\1 OwlPS\ User\ Manual\n.SH NAME\nowlps - Introduction to the Owl Positioning System\n\n.SH TABLE OF CONTENTS"
% Add the table of contents:
%!options(man): --toc
% Man "links":
%!preproc(man): "(owlps-architecture)\.t2t" "**\1**(7)"
%!preproc(man): "(owlps-deployment)\.t2t" "**\1**(7)"
%!preproc(man): "(owlps-deployment)\.t2t" "**\1**(7)"
%!preproc(man): "(owlps-[^ ]*)\.t2t" "**\1**(1)"
%!preproc(man): "(owlps-[^ ]*\.h)" "**\1**(3)"
%!preproc(man): "(owlps[^ ]*\.h)" "**\1**(3)"
%%%
@ -108,9 +107,9 @@ revision number is not mandatory, but it is allowed. For example:
++ Commands' user manuals ++
- owlps-client.t2t
- owlps-listenerd.t2t
- owlps-aggregatord.t2t
- owlps-positionerd.t2t
- owlps-listener.t2t
- owlps-aggregator.t2t
- owlps-positioner.t2t
++ Developping with OwlPS libraries ++

View File

@ -6,4 +6,4 @@
# Modifications done:
# - Turns uppercase the first-level titles.
sed -r 's/^([+=])([^+=].*)/\1\U\2/' $@ | ./preproc.sh
sed -r 's/^([+=])([^+=].*)\1/\1\U\2\1/' $@ | ./preproc.sh