Have distclean just call what it needs in common-clean

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@279 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Jonathan Le Plastrier
2007-07-28 04:15:13 +00:00
parent 72d93f6bd9
commit 9ba5a61ab0
+7 -3
View File
@@ -45,18 +45,22 @@
</target> </target>
<!-- cleans out the intermediate build files --> <!-- cleans out the intermediate build files -->
<target name="clean"> <target name="clean" depends="common-clean">
<delete dir="${deploy.dir}/classes"/> <delete dir="${deploy.dir}/classes"/>
<delete dir="${deploy.dir}/docs"/> <delete dir="${deploy.dir}/docs"/>
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete> <delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete>
<ant dir="tests" target="clean"/>
</target> </target>
<!-- wipes the entire build directory clean --> <!-- wipes the entire build directory clean -->
<target name="distclean" depends="clean"> <target name="distclean" depends="common-clean">
<delete dir="${deploy.dir}"/> <delete dir="${deploy.dir}"/>
</target> </target>
<!-- common clean tasks -->
<target name="common-clean">
<ant dir="tests" target="clean"/>
</target>
<!-- build the java class files --> <!-- build the java class files -->
<target name="compile" depends="check-available,prepare"> <target name="compile" depends="check-available,prepare">
<javac srcdir="src/java" destdir="${classes.dir}" includeAntRuntime="false" <javac srcdir="src/java" destdir="${classes.dir}" includeAntRuntime="false"