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:
@@ -45,18 +45,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