Debian Codegraph @

doc/make_doc

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #!/bin/sh
2 #############################################################################
3 ##
4 #W make_doc make Example Package documentation Greg Gamble
5 ##
6 ## Slightly modified by Leonard Soicher for use with GRAPE.
7 ##
8 #H $Id: make_doc,v 4.1 2001/10/07 02:37:40 gap Exp $
9 ##
10 ## This shell script uses TeX, BibTeX and MakeIndex to build the .dvi, Adobe
11 ## PDF, PostScript (commented out) and HTML (provided you have tth and
12 ## etc/convert.pl) documentation for the Example Package.
13 ##
14
15 set -e
16 echo "TeXing documentation"
17 # TeX the manual
18 tex manual
19 # ... and build its bibliography (uncomment if there is a `manual.bib')
20 bibtex manual
21 # TeX the manual again to incorporate the ToC ... and build the index
22 tex manual; ../../../doc/manualindex manual
23 # Finally TeX the manual again to get cross-references right
24 tex manual
25 # Create the PostScript version (uncomment next line, if needed)
26 #dvips -D300 manual -o
27 # Create PDF version
28 pdftex manual; pdftex manual
29
30 # The HTML version of the manual
31 mkdir -p ../htm
32 echo "Creating HTML documentation"
33 ../../../etc/convert.pl -t -c -n grape . ../htm
34
35 #############################################################################
36 ##
37 #E