diff options
author | Herb Lewis <herb@samba.org> | 1998-04-30 16:00:18 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-04-30 16:00:18 +0000 |
commit | 9aba1bee37b6981e69ea738f05cc92e0125f6007 (patch) | |
tree | ea226d2839ecfcc3c56743933c2d10e9052f4cb3 /packaging/SGI/mkman | |
parent | 3eae1e3f8e53c51f638b1b381085f29feea1c517 (diff) | |
download | samba-9aba1bee37b6981e69ea738f05cc92e0125f6007.tar.gz samba-9aba1bee37b6981e69ea738f05cc92e0125f6007.tar.bz2 samba-9aba1bee37b6981e69ea738f05cc92e0125f6007.zip |
mkman - add argument for making html versions of man pages
idb.pl - minor fixups for sorting of output file.
(This used to be commit 4657367c5c80867fcd08e9bbe7557bc2ac770504)
Diffstat (limited to 'packaging/SGI/mkman')
-rwxr-xr-x | packaging/SGI/mkman | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packaging/SGI/mkman b/packaging/SGI/mkman index fedeb4d719..4f14fafcdc 100755 --- a/packaging/SGI/mkman +++ b/packaging/SGI/mkman @@ -1,15 +1,18 @@ #!/bin/sh +# if you wish to make html versions of the man pages then add the +# argument html when calling this script. You must have rman installed. +# if [ ! -d catman ]; then mkdir catman fi -# if you wish to make html versions of the man pages then uncomment -# the following section and the "rman" command below -# -# if [ ! -d html ]; then -# mkdir html -# fi +if [ "$1" = "html" ]; then + if [ ! -d html ]; then + mkdir html + fi +fi + FILES="*.?" @@ -17,6 +20,8 @@ cd ../../docs for FILE in $FILES ; do neqn $FILE | tbl | nroff -man > ../packaging/SGI/catman/`basename $FILE` compress -f ../packaging/SGI/catman/`basename $FILE` -# rman -f html -r "%s.%s.html" $FILE > ../packaging/SGI/html/$FILE.html + if [ "$1" = "html" ]; then + rman -f html -r "%s.%s.html" $FILE > ../packaging/SGI/html/$FILE.html + fi done cd ../packaging/SGI |