File: make_doc

package info (click to toggle)
gap-cryst 4.1.30-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 892 kB
  • sloc: makefile: 111; sh: 11
file content (23 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
set -e

echo "TeXing documentation"
# TeX the manual
tex manual
# ... and build its bibliography
#bibtex manual
# TeX the manual again to incorporate the ToC
tex manual
# ... and build the index
/usr/share/gap/etc/manualindex manual
# Finally TeX the manual again to get cross-references right
tex manual

# Create PDF version
pdftex manual
pdftex manual

# The HTML version of the manual
mkdir -p ../htm
echo "Creating HTML documentation"
/usr/share/gap/etc/convert.pl -i -u -c -n cryst . ../htm