Debian Codegraph @

contrib/wordn/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 wordn library documentation
3 # =====================================================================
4
5 # ---------------------------------------------------------------------
6 # Pathname to the wordn 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 program
18 # ---------------------------------------------------------------------
19 MAKEINDEX=../../Manual/Reference/bin/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: entries theorems
34 @echo "TeX files made"
35
36 entries:
37 @echo "\chapter{ML Functions in the wordn Library}">entries.tex
38 @echo "\label{entries}">>entries.tex
39 @echo "\input{entries-intro}" >> entries.tex
40 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/ENTRIES entries.tex
41
42 theorems:
43 @echo "\chapter{Pre-proved Theorems}" > theorems.tex
44 @echo "\input{theorems-intro}" >> theorems.tex
45 @echo "\section{The theory {\tt wordn\_base}}">>theorems.tex
46 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/THEOREMS/base theorems.tex
47 @echo "\section{The theory {\tt wordn\_bitops}}">>theorems.tex
48 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/THEOREMS/bitops theorems.tex
49 @echo "\section{The theory {\tt wordn\_num}}">>theorems.tex
50 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/THEOREMS/num theorems.tex
51
52 index:
53 ${MAKEINDEX} -o index.tex wordn
54
55 wordn:
56 latex wordn.tex
57
58 all:
59 make clean; make tex; make wordn; make index; make wordn
60