Debian Codegraph @

Library/parser/Manual/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # =====================================================================
2 # Makefile for the parser library documentation
3 # =====================================================================
4
5 # ---------------------------------------------------------------------
6 # Pathname to the parser help files
7 # ---------------------------------------------------------------------
8 Help=../help
9
10 # ---------------------------------------------------------------------
11 # Pathname to the doc-to-tex script and doc-to-tex.sed file
12 # ---------------------------------------------------------------------
13 DOCTOTEX=../../../Manual/Reference/bin/doc-to-tex
14 DOCTOTEXSED=../../../Manual/Reference/bin/doc-to-tex.sed
15
16 # ---------------------------------------------------------------------
17 # Pathname to the makeindex script
18 # ---------------------------------------------------------------------
19 MAKEINDEX=../../../Manual/LaTeX/makeindex ../../../
20 default:
21 @echo "INSTRUCTIONS: Type \"make all\" to make the documentation"
22
23 # ---------------------------------------------------------------------
24 # Remove all trace of previous LaTeX jobs
25 # ---------------------------------------------------------------------
26 clean:
27 rm -f *.dvi *.aux *.toc *.log *.idx *.ilg
28 @echo "\begin{theindex}" > index.tex
29 @echo "\mbox{}" >> index.tex
30 @echo "\end{theindex}" >> index.tex
31
32 tex: ids theorems
33 @echo "TeX files made"
34
35 ids:
36 @echo "\chapter{ML Functions in the parser Library}">entries.tex
37 @echo "\input{entries-intro}" >> entries.tex
38 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex
39
40 theorems:
41 @echo "\chapter{Pre-proved Theorems}" > theorems.tex
42
43 index:
44 ${MAKEINDEX} parser.idx index.tex
45
46 parser:
47 latex parser.tex
48
49 all:
50 make clean; make tex; make parser; make index; make parser