mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
9aba1bee37
idb.pl - minor fixups for sorting of output file.
(This used to be commit 4657367c5c
)
28 lines
596 B
Bash
Executable File
28 lines
596 B
Bash
Executable File
#!/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
|
|
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
|
|
done
|
|
cd ../packaging/SGI
|