summaryrefslogtreecommitdiff
path: root/packaging/SGI/mkman
blob: a39ed9fdd0c52a14f76192312dfec6b023c71ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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