CleanCode v1.2.07 AntDoc

Press that icon in order to update AntDoc GUI

sourceforgeBuild
Target perl.doc.checkIfRequired

perl.doc.checkIfRequired

The perl.doc target only regenerates main files when needed, but a few files (contents, index, etc.) are always regenerated. This check is added to optimize out those if nothing has changed. Any updated perl file (i.e. newer than its corresponding .html file) will automatically be regenerated by pod2htmltree. Note that deleting a .html file will not trigger a rebuild unless the .pm file is newer than the targetfile.

Detail:
<target name="perl.doc.checkIfRequired">
	<condition property="perldocBuild.notRequired">
		<and>
			<-- A couple top-level files will always be regenerated
					when run, so we just pick one here for comparison. -->

			<uptodate targetfile="${mirror.api}/perl/index-all.html">
				<srcfiles
					dir="${perlsrc}"
					includes="**/*.p?,**/overview.html,**/package.html,template/perldoc/*.*html"
				/>
			</uptodate>

			<not>
				<isset property="force"/>
			</not>
		</and>
	</condition>
</target>


Edouard Mercier 2003.10.01 21:48:07 - AntDoc V0.8g - XSL Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl