summaryrefslogtreecommitdiff
path: root/packaging/SGI/mkman
blob: fedeb4d7196cdbcf23b001b7b3e5e046415dad63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

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

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`
#    rman -f html -r "%s.%s.html"  $FILE > ../packaging/SGI/html/$FILE.html
done
cd ../packaging/SGI