Sorry I pop up from nowhere and not even really wellinformed, but off course
things should be xml-based. Looking at the two examples beneath it no questions
at all (it very long since I looked at make and it was a pain, even at very
beginner level).
But most off all, if there are tools to manipulate xml based makefiles, I could
use them for other projects too. Something like following:
Lets say I have some xml-documents that are connected (maybe external entities)
then maybe I could generate these xml-makefiles (how you call them) and use a
standard tool for checking consistency. Same with versioning tools. They
could/should work even inside xml docs. No $$$$ for me.
Just to widen the perspective. Big point of xml - reuse of tools.
Thanks for listening.
Regards
Frank
PS: Please send a copy to me directly, because I can't really follow the list
right now.
----- Original Message -----
From: Scott Sanders <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 16. november 1999 18:31
Subject: Re: Make Tools (was Re: version numbers)
> > > <project name="Cocoon">
> > > <target name="main">
> > > <mkdir dir="build"/>
> > > <javac srcdir="src" destdir="build"/>
> > > <jar jarfile="cocoon.jar" basedir="build" items="org/apache/cocoon"/>
> > > </target>
> > > <target name="clean">
> > > <deltree dir="build"/>
> > > </target>
> > > </project>
> >
> > > now, please, tell me: would any make be _this_ simple? ;)
> >
> > Yes.
> >
> > SRC=*.java
> > DEST=cocoon.jar
> >
> > OBJ=${SRC:.java=.class}
> >
> > .class.java:
> > $(JAVA) $(JAVA_FLAGS) $<
> >
> > $(DEST): $(OBJ)
> > $(JAR) $(JAR_FLAGS) $(OBJ)
> >
> > clean:
> > rm -f $(OBJ) $(DEST)
> >
> > or there about (usual not-tested disclaimer ;-)...
> >
>
> Being biased towards the XML way, can the make project be validated like the
> XML can against a DTD. That _should_ get rid of a _lot_ of bugs right off
> the bat.
>
....