diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-01-11 16:49:55 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-01-11 16:49:55 +0000 |
commit | 85b2727ef6978843ae52322311400d63b45bb746 (patch) | |
tree | f37020e09b7fbb3fc0dbe865e51363c72fcc682f /PrepareRelease | |
parent | 13b67a95be369b706f2b986b4ac5e3b04400f81c (diff) | |
download | pcre-85b2727ef6978843ae52322311400d63b45bb746.tar.gz |
Add script to check for man page markup typos. Fix some typos.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@583 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'PrepareRelease')
-rwxr-xr-x | PrepareRelease | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/PrepareRelease b/PrepareRelease index b083095..02b2300 100755 --- a/PrepareRelease +++ b/PrepareRelease @@ -12,6 +12,8 @@ # "knows" the relevant troff constructs that are used in the PCRE # man pages. +# CheckMan A Perl script that checks man pages for typos in the mark up. + # CleanTxt A Perl script that cleans up the output of "nroff -man" by # removing backspaces and other redundant text so as to produce # a readable .txt file. @@ -24,11 +26,20 @@ # doc/html can be deleted and re-created from scratch. -# First, sort out the documentation +# First, sort out the documentation. Remove pcredemo.3 first because it won't +# pass the markup check (it is created below, using markup that none of the +# other pages use). cd doc echo Processing documentation +/bin/rm -f pcredemo.3 + +# Check the remaining man pages + +../CheckMan *.1 *.3 +if [ $? != 0 ] ; then exit 1; fi + # Make Text form of the documentation. It needs some mangling to make it # tidy for online reading. Concatenate all the .3 stuff, but omit the # individual function pages. |