Debian Codegraph @

Library/taut/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 taut library documentation
3 # =====================================================================
4
5 # ---------------------------------------------------------------------
6 # Pathname to the taut 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
21 default:
22 @echo "INSTRUCTIONS: Type \"make all\" to make the documentation"
23
24 # ---------------------------------------------------------------------
25 # Remove all trace of previous LaTeX jobs
26 # ---------------------------------------------------------------------
27 clean:
28 rm -f *.dvi *.aux *.toc *.log *.idx *.ilg
29 @echo "\begin{theindex}" > index.tex
30 @echo "\mbox{}" >> index.tex
31 @echo "\end{theindex}" >> index.tex
32
33 tex: ids
34 @echo "TeX files made"
35
36 ids:
37 @echo "\chapter{ML Functions in the taut Library}">entries.tex
38 @echo "\input{entries-intro}" >> entries.tex
39 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex
40
41 index:
42 ${MAKEINDEX} taut.idx index.tex
43
44 taut:
45 latex taut.tex
46
47 all:
48 make clean; make tex; make taut; make index; make taut