Debian Codegraph @

Library/sets/Manual/Makefile

raw ◀ ▶
1 Debian patch touch this file
1 # =====================================================================
2 # Makefile for the sets library documentation
3 # =====================================================================
4
5 # ---------------------------------------------------------------------
6 # Pathname to the 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 sets 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{Membership, equality, and set specifications}'>>theorems.tex
48 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/mem theorems.tex
•49 @printf '\\section{The empty and universal sets}'>>theorems.tex
50 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/emuniv theorems.tex
•51 @printf '\\section{Set inclusion}'>>theorems.tex
52 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/subs theorems.tex
•53 @printf '\\section{Intersection and union}'>>theorems.tex
54 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/unin theorems.tex
•55 @printf '\\section{Set difference}'>>theorems.tex
56 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/diff theorems.tex
•57 @printf '\\section{Disjoint sets}'>>theorems.tex
58 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/disj theorems.tex
•59 @printf '\\section{Insertion and deletion of an element}'>>theorems.tex
60 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/insdel theorems.tex
•61 @printf '\\section{The {\\tt CHOICE} and {\\tt REST} functions}'>>theorems.tex
62 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/chre theorems.tex
•63 @printf '\\section{Image of a function on a set}'>>theorems.tex
64 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/image theorems.tex
•65 @printf '\\section{Mappings between sets}'>>theorems.tex
66 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/fun theorems.tex
•67 @printf '\\section{Singleton sets}'>>theorems.tex
68 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/sing theorems.tex
•69 @printf '\\section{Finite and infinite sets}'>>theorems.tex
70 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/fin theorems.tex
•71 @printf '\\section{Cardinality of sets}'>>theorems.tex
72 /bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/card theorems.tex
73
74 index:
75 ${MAKEINDEX} sets.idx index.tex
76
77 sets:
78 latex sets.tex
79
80 all:
81 make clean; make tex; make sets; make index; make sets
82