axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Re: Catch 22


From: root
Subject: [Axiom-developer] Re: Catch 22
Date: Tue, 29 Oct 2002 23:14:28 -0500

I played with your suggestion of using bundle and distributing
both files. It seems no different than just using tar. However
a different idea seems to work out to a good solution. If I use
the <<*>> tag to surround the makefile code:

/section{The Makefile}
<<*>>=
all:
        notangle -Rfoo.java P.nw >foo.java
        notangle -Rbar.java P.nw >bar.java
        javac *.java
@

and the tags:

/section{foo.java}
<<foo.java>>=
...
@
/section{bar.java}
<<bar.java>>=
...
@

then I can send just the P.nw file. The rules for unpacking it
and making the program become:

   notangle P.nw >Makefile
   make

This seems like an elegant solution as I only need to send one
file, the Makefile is up to date, and there are no modifications
needed to noweb.

Tim




reply via email to

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