incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1203624 - /incubator/public/trunk/build.xml
Date Fri, 18 Nov 2011 12:35:50 GMT
Author: sebb
Date: Fri Nov 18 12:35:50 2011
New Revision: 1203624

URL: http://svn.apache.org/viewvc?rev=1203624&view=rev
Log:
Restore fixcrlf target, but don't call it by default

Modified:
    incubator/public/trunk/build.xml

Modified: incubator/public/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/build.xml?rev=1203624&r1=1203623&r2=1203624&view=diff
==============================================================================
--- incubator/public/trunk/build.xml (original)
+++ incubator/public/trunk/build.xml Fri Nov 18 12:35:50 2011
@@ -32,7 +32,8 @@
         </echo>
     </target>
 
-    <target name="docs" depends="prepare-error,generate-site-map,generate-menu,generate-index"
if="AnakiaTask.present">
+    <target name="docs" depends="prepare-error,generate-site-map,generate-menu,generate-index"
if="AnakiaTask.present"
+        description="Build all the documents">
         <taskdef name="anakia" classname="org.apache.anakia.AnakiaTask">
             <classpath refid="classpath"/>
         </taskdef>
@@ -91,8 +92,15 @@
             </fileset>
         </copy>
     	<copy file="${docs.src}/podlings.xml" tofile="${docs.dest}/podlings.xml"/>
+        <!--antcall target="fix"></antcall-->
+
     </target>
 
+    <target name="fix" description="Fix inconsistent line endings in generated documents">
+        <echo message="Fix inconsistent line endings in generated docs."/>
+        <fixcrlf srcdir="${docs.dest}" includes="**/*.html"/>
+    </target>    
+	
 	<!--
 	Site map generation
 	-->



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message