Hello Sherwood,

I am less familiar with ttree's syntax, but I feel like Bash completion may
be interfering with your command line arguments.

You might try single quotes around the arguments with asterixs in them.

i.e.:
ttree -f .ttreerc --depend '*=lib/header.inc'



*Lathan Bidwell*

Web Programmer
Division of Integrated Marketing & Communication
Andrews University

269-471-6313
*office*www.andrews.edu

"Seek Knowledge.  Affirm Faith.  Change the World."


On Fri, Apr 14, 2017 at 4:27 PM, Sherwood Botsford <[email protected]>
wrote:

>
> 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
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
>
>
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to