Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 0c1f9463f03451b5503f0c33beb88a98 > files > 2504

gap-system-4.4.12-5mdv2010.0.x86_64.rpm

#!/bin/sh

# remove the generated files
# rm manual.dvi manual.six manual.ps manual.pdf ../htm/*.htm manual.lab manual.toc
# rm -f openmath.tex

# create openmath.tex
../../../etc/buildman.pe -f config.openmath

# compile the manual
tex manual
../../../doc/manualindex manual
tex manual

dvips -o manual.ps manual

ps2pdf manual.ps

# file manual.bbl is asked by ../../../etc/convert.pl
# bibtex manual
echo "\\begin{thebibliography}{} \\end{thebibliography}" > manual.bbl 

# create the htm files, in the ../htm directory
if test ! -d ../htm;  then mkdir ../htm;  fi
../../../etc/convert.pl -c -i -n openmath.htm . ../htm

# remove the temp and log files
rm manual.aux manual.idx manual.ilg manual.ind manual.log manual.bbl