Debian Codegraph @

Library/finite_sets/Manual/Makefile

raw ◀ ▶
1 Debian patch touch this file
1 # =====================================================================
2 # Makefile for the finite_sets library documentation
3 # =====================================================================
4
5 # ---------------------------------------------------------------------
6 # Pathname to the finite_sets 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 @printf '\\begin{theindex}' > index.tex
30 @printf '\\mbox{}' >> index.tex
31 @printf '\\end{theindex}' >> index.tex
32
33 tex: theorems ids
34 @echo "TeX files made"
35
36 ids:
•37 @printf '\\chapter{ML Functions in the Library}'>entries.tex
38 @printf '\\label{entries}'>>entries.tex
39 @printf '\\input{entries-intro}' >> entries.tex
40 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex
41
42 theorems:
•43 @printf '\\chapter{Pre-proved Theorems}' > theorems.tex
44 @printf '\\input{theorems-intro}' >> theorems.tex
45 @printf '\\section{The type definition}'>>theorems.tex
46 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/sdef theorems.tex
•47 @printf '\\section{Basic properties of {\\tt EMPTY}, {\\tt INSERT}, and {\\tt IN}}'>>theorems.tex
48 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/basic theorems.tex
•49 @printf '\\section{Set inclusion}'>>theorems.tex
50 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/subs theorems.tex
•51 @printf '\\section{Intersection and union}'>>theorems.tex
52 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/unin theorems.tex
•53 @printf '\\section{Set difference}'>>theorems.tex
54 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/diff theorems.tex
•55 @printf '\\section{Deletion of an element}'>>theorems.tex
56 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/del theorems.tex
•57 @printf '\\section{Disjoint sets}'>>theorems.tex
58 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/disj theorems.tex
•59 @printf '\\section{The {\\tt CHOICE} and {\\tt REST} functions}'>>theorems.tex
60 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/chre theorems.tex
•61 @printf '\\section{Image of a function on a set}'>>theorems.tex
62 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/image theorems.tex
•63 @printf '\\section{Mappings between sets}'>>theorems.tex
64 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/fun theorems.tex
•65 @printf '\\section{Singleton sets}'>>theorems.tex
66 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/sing theorems.tex
•67 @printf '\\section{Cardinality of sets}'>>theorems.tex
68 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/card theorems.tex
69
70 index:
71 ${MAKEINDEX} finite_sets.idx index.tex
72
73 finite_sets:
74 latex finite_sets.tex
75
76 all:
77 make clean; make tex; make finite_sets; make index; make finite_sets
78