Typical template: [% PROCESS header.inc Title = "Alder" Desc = "Alnus" %] <DIV id="content"> [% FILTER multimarkdown %]
# Alder .... File name convention: templates end in .tt2, output files in .html, and include files in .inc whether they are processed or included. inc files are in {project}/lib I figured that if I added this: ttree -f .ttreerc --depend *.html=header.inc that it would do the Right Thing. I've also tried ttree -f .ttreerc --depend *.html=lib/header.inc ttree -f .ttreerc --depend *.tt2=header.inc ttree -f .ttreerc --depend *=header.inc ttree -f .ttreerc --depend *=lib/header.inc Nothing happens. 590 ==> ttree -f .ttreerc --depend *=lib/header.inc ttree 2.9 (Template Toolkit version 2.26) Source: ./tt2 Destination: ./site Include Path: [ ./lib, ./lib/Inventory ] Ignore: [ ^#, ^\..*$, \.sw.$, bak$, \.ppm$, \.nef$, \.psd$, content.tty, \.SAVED, ^\._.*, ~$, \.css$ ] Copy: [ \.png$, \.gif$, \.jpg$, \.jpeg$, \.pdf$, \.xls$, \.php$, \.ico$ ] Accept: [ ] Suffix: [ tt2 => html ] Summary: 0 files processed 0 files copied 0 directories created 1295 files skipped (not modified) 331 files skipped (ignored) Version 2.26 perl 5.23, Mac OSX 10.10.5 (Yosemite) If I touch one of the tt2 files, it does that file. What am I missing? Regards Sherwood
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates