1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/packaging/SGI/mkman
1999-12-13 13:27:58 +00:00

19 lines
462 B
Bash
Executable File

#!/bin/sh
if [ ! -d catman ]; then
mkdir catman
fi
FILES="*.?"
cd ../../docs/manpages
for FILE in $FILES ; do
if [ "$FILE" = "smbmnt.8" ]; then continue; fi;
if [ "$FILE" = "smbmount.8" -o "$FILE" = "smbumount.8" ]; then continue; fi;
if [ "$FILE" = "smbrun.1" ]; then continue; fi;
neqn $FILE | tbl | nroff -man > ../../packaging/SGI/catman/`basename $FILE`
pack -f ../../packaging/SGI/catman/`basename $FILE`
done
cd ../../packaging/SGI