Have distclean just call what it needs in common-clean
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@393 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -152,18 +152,22 @@
|
||||
</target>
|
||||
|
||||
<!-- cleans out the intermediate build files -->
|
||||
<target name="clean">
|
||||
<target name="clean" depends="common-clean">
|
||||
<delete dir="${deploy.dir}/classes"/>
|
||||
<delete dir="${deploy.dir}/docs"/>
|
||||
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete>
|
||||
<ant dir="tests" target="clean"/>
|
||||
</target>
|
||||
|
||||
<!-- wipes the entire build directory clean -->
|
||||
<target name="distclean" depends="clean">
|
||||
<target name="distclean" depends="common-clean">
|
||||
<delete dir="${deploy.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- common clean tasks -->
|
||||
<target name="common-clean">
|
||||
<ant dir="tests" target="clean"/>
|
||||
</target>
|
||||
|
||||
<!-- build the java class files -->
|
||||
<target name="compile" depends="check-available,prepare">
|
||||
<javac srcdir="src/java" destdir="${classes.dir}" includeAntRuntime="false"
|
||||
|
||||
Reference in New Issue
Block a user