1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

new directories for man page sources

This commit is contained in:
Herb Lewis 0001-01-01 00:00:00 +00:00
parent 9f250a80c6
commit 555b11f9bc

View File

@ -1,27 +1,15 @@
#!/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 [ "$1" = "html" ]; then
if [ ! -d html ]; then
mkdir html
fi
fi
FILES="*.?"
cd ../../docs
cd ../../docs/manpages
for FILE in $FILES ; do
neqn $FILE | tbl | nroff -man > ../packaging/SGI/catman/`basename $FILE`
compress -f ../packaging/SGI/catman/`basename $FILE`
if [ "$1" = "html" ]; then
rman -f html -r "%s.%s.html" $FILE > ../packaging/SGI/html/$FILE.html
fi
neqn $FILE | tbl | nroff -man > ../../packaging/SGI/catman/`basename $FILE`
compress -f ../../packaging/SGI/catman/`basename $FILE`
done
cd ../packaging/SGI
cd ../../packaging/SGI