axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] address@hidden: Patch to produce the book in the ${MNT


From: root
Subject: [Axiom-developer] address@hidden: Patch to produce the book in the ${MNT}/${SYS}/doc directory]
Date: Sat, 27 Mar 2004 11:52:21 -0500

changes applied.





------- Start of forwarded message -------
To: address@hidden
Cc: Tim Daly <address@hidden>
Subject: Patch to produce the book in the ${MNT}/${SYS}/doc directory
From: David MENTRE <address@hidden>
Date: Sat, 27 Mar 2004 14:58:27 +0100


- --=-=-=

Hello,

Here is a patch that adds the Axiom Book as a target in the
Makefile. The ps/ directory is copied into the target directory,
otherwise the dvi book lacks graphics.


- --=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=axiom-book.patch
Content-Description: Add the book as a Makefile target

- --- src/doc/Makefile.pamphlet.orig    2004-03-27 14:07:21.000000000 +0100
+++ src/doc/Makefile.pamphlet   2004-03-27 14:51:05.000000000 +0100
@@ -31,7 +31,7 @@
 <<axiom.sty>>=
 ${OUT}/tex/axiom.sty: ${IN}/axiom.sty.pamphlet
        @echo 5 making ${OUT}/tex/axiom.sty from ${IN}/axiom.sty.pamphlet
- -     @(cd ${OUT}/tex ;
+       @(cd ${OUT}/tex ; \
        ${TANGLE} -Raxiom.sty ${IN}/axiom.sty.pamphlet >axiom.sty )
 
 @ 
@@ -49,6 +49,20 @@
        cp DeveloperNotes.dvi ${DVI} )
 
 @
+\section{Book}
+This file contains the main documentation for Axiom, the Axiom Book. We
+take care to copy the whole [[ps/]] directory that contains images used
+by the book.
+<<Book>>=
+${DVI}/book.dvi: ${IN}/book.pamphlet
+       @echo 7 making ${DVI}/book.dvi from ${IN}/book.pamphlet
+       @(cd ${MID} ; \
+       cp ${IN}/book.pamphlet ${MID} ; \
+        ${SPADBIN}/document ${NOISE} book ; \
+       cp book.dvi ${DVI}; \
+       cp -r ${IN}/ps ${DVI} )
+
+@ 
 \section{The Makefile}
 We need to document the commands.
 <<*>>=
@@ -57,7 +71,8 @@
 OUT=${MNT}/${SYS}/bin
 DVI=${MNT}/${SYS}/doc
 
- -FILES= ${MID}/axiom.bib ${OUT}/tex/axiom.sty ${DVI}/DeveloperNotes.dvi
+FILES= ${MID}/axiom.bib ${OUT}/tex/axiom.sty ${DVI}/DeveloperNotes.dvi \
+       ${DVI}/book.dvi
 
 all: ${FILES}
        @echo 1 making ${SRC}/doc
@@ -65,6 +80,7 @@
 <<bibtex>>
 <<axiom.sty>>
 <<DeveloperNotes>>
+<<Book>>
 document:
        @echo 3 documenting ${SRC}/doc
 

- --=-=-=




Yours,
d.
- -- 
David MENTRE <address@hidden> -- http://www.nongnu.org/axiom/

- --=-=-=--
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]