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

« back to all changes in this revision

Viewing changes to src/etc/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/etc Makefile}
5
5
\author{Timothy Daly}
13
13
<<axiomcmd>>=
14
14
${OUT}/axiom: ${IN}/axiom
15
15
        @echo 1 making ${OUT}/axiom from ${IN}/axiom
16
 
        @echo export AXIOM=${AXIOM} >${OUT}/axiom
 
16
        @echo "#!/bin/sh" >${OUT}/axiom
 
17
        @echo AXIOM=${AXIOM} >>${OUT}/axiom
17
18
        @cat ${IN}/axiom >>${OUT}/axiom
18
19
        @chmod +x ${OUT}/axiom
19
20
 
20
21
@
 
22
\section{The databases}
 
23
The databases are built in this Makefile even though the prerequisits
 
24
are actually made during the previous step in the algebra directory.
 
25
This allows us to use a simple wildcard to express the fact that
 
26
all of the algreba/*.NRLIB/code.o files are required in order to build
 
27
the databases. If any if any of these are changed, the databases must
 
28
be re-built.
 
29
<<dbcomplete>>=
 
30
${MNT}/${SYS}/algebra/*.daase: ${INT}/algebra/*.NRLIB/code.o
 
31
        @ echo 4 rebuilding databases...
 
32
        @ cp ${SRC}/doc/gloss.text ${INT}/algebra
 
33
        @ cp ${SRC}/doc/gloss.text ${INT}/algebra
 
34
        @ cp ${SRC}/doc/topics.data ${INT}/algebra
 
35
        @ cp ${SRC}/doc/topics.data ${INT}/algebra
 
36
        @ (cd ${INT}/algebra ; \
 
37
           echo ')lisp (make-databases "" nil)' | ${INTERPSYS} )
 
38
        @ cp ${INT}/algebra/*.daase ${MNT}/${SYS}/algebra
 
39
 
 
40
@
21
41
\section{summary}
22
42
<<summary>>=
23
43
${LIB}/summary: ${IN}/summary
55
75
<<asq>>=
56
76
${OUT}/asq: ${MID}/asq.c
57
77
        @echo 4 making ${OUT}/asq from ${MID}/asq.c
58
 
        @( cd ${MID} ; gcc -o asq asq.c )
 
78
        @( cd ${MID} ; ${CC} ${CCF} -o asq asq.c )
59
79
        @cp ${MID}/asq ${OUT}
60
80
 
61
81
${MID}/asq.c: ${IN}/asq.c.pamphlet
70
90
OUT=${MNT}/${SYS}/bin
71
91
LIB=${MNT}/${SYS}/lib
72
92
DOC=${INT}/doc/src/etc
73
 
 
74
 
all: ${OUT}/asq ${LIB}/summary ${LIB}/copyright ${OUT}/axiom
75
 
        @echo 6 finished ${OUT}, ${LIB}
76
 
 
 
93
INTERPSYS=${OBJ}/${SYS}/bin/interpsys
 
94
 
 
95
all: ${MNT}/${SYS}/algebra/*.daase ${OUT}/asq ${LIB}/summary \
 
96
     ${LIB}/copyright ${OUT}/axiom
 
97
        @echo 6 finished ${IN}
 
98
 
 
99
<<dbcomplete>>
77
100
<<asq>>
78
101
<<summary>>
79
102
<<copyright>>
86
109
          rm asq.c.pamphlet )
87
110
 
88
111
clean:
89
 
        @echo 8 cleaning ${MID}
 
112
        @echo 8 cleaning ${SRC}/etc
90
113
        @rm -rf ${MID}
91
 
        @echo 4 cleaning ${DOC}
92
114
        @rm -rf ${DOC}
93
115
 
94
116
@