Skip to content

Commit eea1239

Browse files
authored
Merge pull request #24 from gap-packages/mh/make_doc
Revise make_doc
2 parents 3c6c843 + fc911b6 commit eea1239

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

doc/make_doc

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,20 @@
22
set -e
33

44
echo "TeXing documentation"
5+
# delete old stuff to avoid spurious or "hidden errors" caused by their presence
6+
rm -f manual.aux manual.pdf manual.idx manual.ilg manual.ind manual.lab manual.log manual.six manual.toc
57
# TeX the manual
6-
tex manual
7-
# ... and build its bibliography (uncomment if there is a `manual.bib')
8+
pdftex manual
9+
# ... and build its bibliography
810
bibtex manual
9-
# TeX the manual again to incorporate the ToC ... and build the index
10-
tex manual
11-
tex manual
11+
# TeX the manual again to incorporate the ToC
12+
pdftex manual
13+
# ... and build the index
1214
../../../doc/manualindex manual
1315
# Finally TeX the manual again to get cross-references right
14-
tex manual
15-
# Create PDF version
16-
pdftex manual; pdftex manual
16+
pdftex manual
1717

1818
# The HTML version of the manual
19-
rm -rf ../htm
20-
mkdir ../htm
19+
mkdir -p ../htm
2120
echo "Creating HTML documentation"
2221
../../../etc/convert.pl -i -u -c -n ModIsom . ../htm
23-
24-
#############################################################################
25-
##
26-
#E

0 commit comments

Comments
 (0)