[Mulgara-svn] r643 - trunk

ronald at mulgara.org ronald at mulgara.org
Mon Feb 18 11:00:46 UTC 2008


Author: ronald
Date: 2008-02-18 03:00:45 -0800 (Mon, 18 Feb 2008)
New Revision: 643

Modified:
   trunk/webdocs.xml
Log:
Added uptodate checking because the replace operations take a while to run.


Modified: trunk/webdocs.xml
===================================================================
--- trunk/webdocs.xml	2008-02-18 10:59:31 UTC (rev 642)
+++ trunk/webdocs.xml	2008-02-18 11:00:45 UTC (rev 643)
@@ -11,8 +11,15 @@
     <echo message="help:  This message."/>
   </target>
 
+  <target name="-webpage-includes-uptodate">
+    <uptodate property="webpage-includes-uptodate">
+      <srcfiles dir="${template.src.docs.dir}"/>
+      <globmapper from="*" to="${src.docs.dir}/*"/>
+    </uptodate>
+  </target>
 
-  <target name="webpage-includes" description="Creates the webpages directory and does the includes">
+  <target name="webpage-includes" description="Creates the webpages directory and does the includes"
+      depends="-webpage-includes-uptodate" unless="webpage-includes-uptodate">
     <copy todir="${src.docs.dir}">
       <fileset dir="${template.src.docs.dir}"/>
     </copy>




More information about the Mulgara-svn mailing list