#!/bin/sh # Recreate the Demeter man pages # July 11, 1993 trap 'echo ; echo Aborted. ; echo You have to finish. Maybe some formatted pages are incomplete! ; exit' 1 2 3 13 15 dir=`/bin/expr \( x"$0" : x'\(/\)$' \) \| \( x"$0" : x'\(.*\)/[^/]*$' \) \| .` dir=`cd $dir ; /bin/pwd` DEMETER=`cd $dir/../.. ; /bin/pwd` cd $DEMETER/man echo echo Looking in $DEMETER/man ... echo #/usr/etc/catman -M $DEMETER/man $* /usr/etc/catman -M $DEMETER/man 127n echo -n .TH DEMETER n \"1993\" > $DEMETER/man/mann/demeter.n echo -n " " >> $DEMETER/man/mann/demeter.n echo \"Demeter Reference Manual\" >> $DEMETER/man/mann/demeter.n echo "Copyright (c) 1993, Demeter International" >> $DEMETER/man/mann/demeter.n echo ".SH NAME" >> $DEMETER/man/mann/demeter.n echo "demeter \- summary of all the man pages available for the Demeter system/C++" >> $DEMETER/man/mann/demeter.n echo ".SH DESCRIPTION" >> $DEMETER/man/mann/demeter.n echo "This is an alphabetical list of all the man pages available" >> $DEMETER/man/mann/demeter.n echo "for the Demeter system/C++. To read any of those man pages," >> $DEMETER/man/mann/demeter.n echo "use" >> $DEMETER/man/mann/demeter.n echo ".RS 6.0" >> $DEMETER/man/mann/demeter.n echo ".I man a-name-given-below" >> $DEMETER/man/mann/demeter.n echo ".RE" >> $DEMETER/man/mann/demeter.n echo >> $DEMETER/man/mann/demeter.n echo ".I generate, propagate, headers and compile" >> $DEMETER/man/mann/demeter.n echo "are commands of the application programmer interface of" >> $DEMETER/man/mann/demeter.n echo "the Demeter Tools. Usually those commands " >> $DEMETER/man/mann/demeter.n echo "are called directly for you when you type" >> $DEMETER/man/mann/demeter.n echo ".I make." >> $DEMETER/man/mann/demeter.n echo >> $DEMETER/man/mann/demeter.n echo "The man pages for" >> $DEMETER/man/mann/demeter.n echo ".I generate, propagate, headers" >> $DEMETER/man/mann/demeter.n echo and >> $DEMETER/man/mann/demeter.n echo ".I compile" >> $DEMETER/man/mann/demeter.n echo "explain how you can control the various tools." >> $DEMETER/man/mann/demeter.n sort -mu $DEMETER/man/whatis > /usr/tmp/whatis.$$ mv /usr/tmp/whatis.$$ $DEMETER/man/whatis cat $DEMETER/man/whatis | expand | sed -e "s/- /# /g"| \ $dir/util/mkcat/`get-cpu`/mkcat-aux >> $DEMETER/man/mann/demeter.n echo >> $DEMETER/man/mann/demeter.n echo ".RE" >> $DEMETER/man/mann/demeter.n #/usr/etc/catman -M $DEMETER/man $* /usr/etc/catman -M $DEMETER/man 12n