29
29
originally written by Norman Ramsey. To this we've added macros to
30
30
support the CATS (Computer Algebra Test Suite).
32
${OUT}/tex/axiom.sty: ${IN}/axiom.sty.pamphlet
33
@echo 5 making ${OUT}/tex/axiom.sty from ${IN}/axiom.sty.pamphlet
35
${TANGLE} -Raxiom.sty ${IN}/axiom.sty.pamphlet >axiom.sty )
32
${STY}/axiom.sty: ${IN}/axiom.sty.pamphlet
33
@echo 2 making ${STY}/axiom.sty from ${IN}/axiom.sty.pamphlet
35
${TANGLE} -R"axiom.sty" ${IN}/axiom.sty.pamphlet >axiom.sty )
38
38
\section{The Developer Notes}
41
41
internal representations, debugging tools, and gives a cookbook
42
42
for using CVS. There is nothing of interest for the end user.
43
43
<<DeveloperNotes>>=
44
${DVI}/DeveloperNotes.dvi: ${IN}/DeveloperNotes.pamphlet
45
@echo 6 making ${DVI}/DeveloperNotes.dvi from ${IN}/DeveloperNotes.pamphlet
44
${DVI}/DeveloperNotes.dvi: ${IN}/DeveloperNotes.pamphlet ${STY}/axiom.sty
45
@echo 3 making ${DVI}/DeveloperNotes.dvi from ${IN}/DeveloperNotes.pamphlet
47
47
cp ${IN}/DeveloperNotes.pamphlet ${MID} ; \
48
cp ${STY}/axiom.sty ${MID} ; \
48
49
${SPADBIN}/document ${NOISE} DeveloperNotes ; \
49
50
cp DeveloperNotes.dvi ${DVI} )
54
This file contains the main documentation for Axiom, the Axiom book.
55
We take care to copy the whole [[ps/]] directory that contains images
58
${DVI}/book.dvi: ${IN}/book.pamphlet
59
@echo 4 making ${DVI}/book.dvi from ${IN}/book.pamphlet
61
cp ${IN}/book.pamphlet ${MID} ; \
62
${SPADBIN}/document ${NOISE} book ; \
63
cp book.dvi ${DVI} ; \
64
cp -r ${IN}/ps ${DVI} )
68
The Rosetta document is an effort to give a command-by-command
69
way of moving between various computer algebra systems. It was
70
originally created for the "Rosetta" series of CDs. These Rosetta
71
CDs contained multiple, free computer algebra systems.
73
${DVI}/Rosetta.dvi: ${IN}/Rosetta.pamphlet
74
@echo 5 building ${DVI}/Rosetta.dvi from ${IN}/Rosetta.pamphlet
76
cp ${IN}/Rosetta.pamphlet ${MID} ; \
77
${SPADBIN}/document ${NOISE} Rosetta ; \
78
cp Rosetta.dvi ${DVI} )
81
\section{The booklet command}
83
${OUT}/booklet: ${MID}/booklet.o
84
@echo 6 making ${OUT}/booklet from ${MID}/booklet.o
86
${CC} ${MID}/booklet.o -o booklet )
88
${MID}/booklet.o: ${INT}/booklet.c
89
@echo 7 making ${MID}/booklet.o from ${INT}/booklet.c
91
${CC} -c ${INT}/booklet.c )
93
${INT}/booklet.c: ${IN}/booklet.c.pamphlet
94
@echo 8 making ${INT}/booklet.c from ${IN}/booklet.c.pamphlet
96
${TANGLE} ${IN}/booklet.c.pamphlet >booklet.c )
52
99
\section{The Makefile}
53
100
We need to document the commands.
57
104
OUT=${MNT}/${SYS}/bin
58
106
DVI=${MNT}/${SYS}/doc
60
FILES= ${MID}/axiom.bib ${OUT}/tex/axiom.sty ${DVI}/DeveloperNotes.dvi
63
@echo 1 making ${SRC}/doc
109
FILES= ${MID}/axiom.bib ${STY}/axiom.sty ${DVI}/DeveloperNotes.dvi \
110
${DVI}/book.dvi ${DVI}/Rosetta.dvi
114
all: ${FILES} ${CMDS}
115
@echo 9 finished ${IN}
67
120
<<DeveloperNotes>>
69
@echo 3 documenting ${SRC}/doc
125
@echo 10 documenting ${SRC}/doc
72
@echo 4 cleaning ${SRC}/doc
128
@echo 11 cleaning ${SRC}/doc
75
131
\begin{thebibliography}{99}