~ubuntu-branches/ubuntu/karmic/axiom/karmic

« back to all changes in this revision

Viewing changes to src/doc/Makefile.pamphlet

  • Committer: Bazaar Package Importer
  • Author(s):
  • Date: 2005-02-21 17:08:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050221170837-34vm4j33v4t9hsk4
Tags: 20050201-1
* New upstream release
* Bug fix: "axiom graphics missing?", thanks to Daniel Lakeland (Closes:
  #277692).
* Bug fix: "axiom: Feb 2005 release for sarge would be nice", thanks to
  Balbir Thomas (Closes: #295000).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
\documentclass{article}
2
 
\usepackage{../../src/scripts/tex/axiom}
 
2
\usepackage{../scripts/tex/axiom}
3
3
\begin{document}
4
4
\title{\$SPAD/src/doc Makefile}
5
5
\author{Timothy Daly}
19
19
[[\cite{asq.c}]].
20
20
<<bibtex>>=
21
21
${MID}/axiom.bib: ${IN}/axiom.bib.pamphlet
22
 
        @echo 2 making ${MID}/axiom.bib from ${IN}/axiom.bib.pamphlet
 
22
        @echo 1 making ${MID}/axiom.bib from ${IN}/axiom.bib.pamphlet
23
23
        @ (cd ${MID} ; \
24
24
         ${TANGLE} ${IN}/axiom.bib.pamphlet >${MID}/axiom.bib )
25
25
 
29
29
originally written by Norman Ramsey. To this we've added macros to
30
30
support the CATS (Computer Algebra Test Suite).
31
31
<<axiom.sty>>=
32
 
${OUT}/tex/axiom.sty: ${IN}/axiom.sty.pamphlet
33
 
        @echo 5 making ${OUT}/tex/axiom.sty from ${IN}/axiom.sty.pamphlet
34
 
        @(cd ${OUT}/tex ;
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
 
34
        @(cd ${STY} ; \
 
35
        ${TANGLE} -R"axiom.sty" ${IN}/axiom.sty.pamphlet >axiom.sty )
36
36
 
37
37
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
46
46
        @(cd ${MID} ; \
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} )
50
51
 
51
52
@
 
53
\section{Book}
 
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
 
56
used by the book.
 
57
<<Book>>=
 
58
${DVI}/book.dvi: ${IN}/book.pamphlet
 
59
        @echo 4 making ${DVI}/book.dvi from ${IN}/book.pamphlet
 
60
        @(cd ${MID} ; \
 
61
        cp ${IN}/book.pamphlet ${MID} ; \
 
62
        ${SPADBIN}/document ${NOISE} book ; \
 
63
        cp book.dvi ${DVI} ; \
 
64
        cp -r ${IN}/ps ${DVI} )
 
65
 
 
66
@
 
67
\section{Rosetta}
 
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.
 
72
<<Rosetta>>=
 
73
${DVI}/Rosetta.dvi: ${IN}/Rosetta.pamphlet
 
74
        @echo 5 building ${DVI}/Rosetta.dvi from ${IN}/Rosetta.pamphlet
 
75
        @(cd ${MID} ; \
 
76
        cp ${IN}/Rosetta.pamphlet ${MID} ; \
 
77
        ${SPADBIN}/document ${NOISE} Rosetta ; \
 
78
        cp Rosetta.dvi ${DVI} )
 
79
 
 
80
@
 
81
\section{The booklet command}
 
82
<<booklet>>=
 
83
${OUT}/booklet: ${MID}/booklet.o
 
84
        @echo 6 making ${OUT}/booklet from ${MID}/booklet.o
 
85
        @(cd ${OUT} ; \
 
86
          ${CC} ${MID}/booklet.o -o booklet )
 
87
 
 
88
${MID}/booklet.o: ${INT}/booklet.c
 
89
        @echo 7 making ${MID}/booklet.o from ${INT}/booklet.c
 
90
        @(cd ${MID} ; \
 
91
          ${CC} -c ${INT}/booklet.c )
 
92
 
 
93
${INT}/booklet.c: ${IN}/booklet.c.pamphlet
 
94
        @echo 8 making ${INT}/booklet.c from ${IN}/booklet.c.pamphlet
 
95
        @(cd ${INT} ; \
 
96
          ${TANGLE} ${IN}/booklet.c.pamphlet >booklet.c )
 
97
          
 
98
@
52
99
\section{The Makefile}
53
100
We need to document the commands.
54
101
<<*>>=
55
102
IN=${SRC}/doc
56
103
MID=${INT}/doc
57
104
OUT=${MNT}/${SYS}/bin
 
105
STY=${OUT}/tex
58
106
DVI=${MNT}/${SYS}/doc
59
 
 
60
 
FILES= ${MID}/axiom.bib ${OUT}/tex/axiom.sty ${DVI}/DeveloperNotes.dvi
61
 
 
62
 
all: ${FILES}
63
 
        @echo 1 making ${SRC}/doc
64
 
 
 
107
DOC=${INT}/doc
 
108
 
 
109
FILES= ${MID}/axiom.bib ${STY}/axiom.sty ${DVI}/DeveloperNotes.dvi \
 
110
       ${DVI}/book.dvi ${DVI}/Rosetta.dvi
 
111
 
 
112
CMDS=${OUT}/booklet
 
113
 
 
114
all: ${FILES} ${CMDS}
 
115
        @echo 9 finished ${IN}
 
116
 
 
117
<<booklet>>
65
118
<<bibtex>>
66
119
<<axiom.sty>>
67
120
<<DeveloperNotes>>
 
121
<<Book>>
 
122
<<Rosetta>>
 
123
 
68
124
document:
69
 
        @echo 3 documenting ${SRC}/doc
 
125
        @echo 10 documenting ${SRC}/doc
70
126
 
71
127
clean:
72
 
        @echo 4 cleaning ${SRC}/doc
 
128
        @echo 11 cleaning ${SRC}/doc
73
129
@
74
130
\eject
75
131
\begin{thebibliography}{99}