[Templates] Replacing ttree with make

Keith G. Murphy keithmur@mindspring.com
Fri, 15 Nov 2002 12:31:05 -0600


Harald Joerg wrote:
> Harald Joerg <harald.joerg@fujitsu-siemens.com> writes:
> 
> [nothing]
> 
> Sorry - fingers too quick.  Twice.
> My first mistake was to reply to Simon what I wanted to go to the
> list, the second was to send an empty buffer.  Sorry again.
> 
> I don't want to object against Simon's patch for ttree,
> but exactly the scenario he describes is what I am solving with make.
> 
> Basically, I have Makefile entries like
> ----------------------------------------------------------------------
> outdir/foo.html: indir/foo.html lib/header.tt2 lib/footer.tt2
>         touch indir/foo.html
> 
> lib/header.tt2: lib/init.tt2 lib/global.tt2
>         touch lib/header.tt2
> ----------------------------------------------------------------------
> ...and then I'm running ttree "as is".
> 
This discussion is interesting to me because I have been interested in 
the issue of dependencies, but from another angle.

I am interested in having the displayed modification date of web pages 
reflect the modification dates of their dependencies (but not in *all* 
cases).  That runs you right up against the fact that ttree/TT itself 
has no concept of such.

Has anyone else faced a similar situation?