'ello. I finally installed the latest dev version (2.10a)
of the template toolkit, which has a (very much!!) improved version of my
ttree-dependency
patch.
I've noiced a small bug (Perhaps it is not a bug?).
Assume you have the following ttree config:
--- ttree.cfg ---
src = ~/src/
dest = ~/dest/
copy = \.png$
copy = \.gif$
copy = \.jpe?g$
depend * = header
--- end ---
Okay?
Then, when the modtime of 'header' changes,
all the *.png, *.jpg, and *.gif files will be
copied from ~/src/ to ~/dest/.
Should that be the case? I don't think so.
At the same time, I can't think of an 'elegant' way of fixing it...
Can anyone think of a smart, fast way of making ttree ignore
dependencies for files that are just going to be copied?
Cheers! (and happy thanksgiving to those of you in the US. :)
--
Always do right. This will gratify some people and astonish the rest.
-- Mark Twain
-
GPG Fingerprint=D67D 2B75 53C6 9769 30E4 D390 239F C833 F32C F6F6
GPG KeyID=F32CF6F6
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates