[Templates-cvs] cvs commit: Template2/docsrc/src/Tools ttree.tt2
cvs@template-toolkit.org
cvs@template-toolkit.org
Wed, 08 Oct 2003 17:03:59 +0100
cvs 03/10/08 16:03:59
Modified: docsrc/src/Tools ttree.tt2
Log:
* added '*' wildcard for dependencies
Revision Changes Path
1.5 +13 -0 Template2/docsrc/src/Tools/ttree.tt2
Index: ttree.tt2
===================================================================
RCS file: /template-toolkit/Template2/docsrc/src/Tools/ttree.tt2,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ttree.tt2 2003/10/08 13:52:22 1.4
+++ ttree.tt2 2003/10/08 16:03:58 1.5
@@ -120,6 +120,15 @@
$ ttree --depend foo=bar,/tmp/baz
+To define a dependency that applies to all files, use C<*> on the
+left of the C<=>.
+
+ $ ttree --depend *=header,footer
+
+Any templates that are defined in the C<pre_process>, C<post_process>,
+C<process> or C<wrapper> options will automatically be added to the
+list of global dependencies that apply to all templates.
+
=head2 Format of B<depend_file>
The C<depend_file> option can be used to specify a file that contains
@@ -161,3 +170,7 @@
dependant files has a modification time greater than the current
F<index.html> output file.
+As with the command line options, the C<*> character can be used
+as a wildcard to specify a dependency for all templates.
+
+ * : config,header