Skip to content

Commit 271b91f

Browse files
authored
Merge pull request #26 from gap-packages/mh/make_doc
Revise make_doc
2 parents 6ef0438 + ec45916 commit 271b91f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/make_doc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
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
7+
58
# TeX the manual
69
tex manual
7-
# ... and build its bibliography (uncomment if there is a `manual.bib')
10+
# ... and build its bibliography
811
bibtex manual
9-
# TeX the manual again to incorporate the ToC ... and build the index
10-
tex manual
12+
# TeX the manual again to incorporate the ToC
1113
tex manual
14+
# ... and build the index
1215
../../../doc/manualindex manual
1316
# Finally TeX the manual again to get cross-references right
1417
tex manual
18+
1519
# Create PDF version
16-
pdftex manual; pdftex manual
20+
pdftex manual
21+
pdftex manual
1722

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

0 commit comments

Comments
 (0)