On Fri, Apr 14, 2017 at 9:27 PM, Sherwood Botsford <sgbotsf...@gmail.com> wrote:

[ snip ]

> I figured that if I added this:
>
> ttree -f .ttreerc --depend *.html=header.inc
>
> that it would do the Right Thing.

There are two problems here.

Firstly, ttree only supports a single asterisk on the right-hand side
of a dependency definition. A '*' on its own will work, something like
'*.html' doesn't.

Secondly, if you're working on a Unix-like operating system, then the
'*.html' will be expanded by the shell before ttree even sees the
options. You need to quote the '*' to prevent the shell from seeing it
(but even then your solution won't work because of my first point
above).

ttree is provided as a simple example of a TT command-line tool. I'm
afraid it doesn't support complex requirements like yours. You're
really expected to write your own programs to handle stuff like this.

Cheers,

Dave...

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to