Don't get the point of 'dist' and 'dist-build' being separate, so merging them
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
538502165b
commit
8898f28898
|
@ -90,14 +90,12 @@
|
|||
<classpath refid="compile.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
<target name="dist" depends="compile,javadoc" description="Create binary distribution">
|
||||
<target name="dist" depends="clean,compile,javadoc" description="Create binary distribution">
|
||||
<mkdir dir="${dist.home}"/>
|
||||
<copy file="LICENSE.txt" todir="${dist.home}"/>
|
||||
<copy file="NOTICE.txt" todir="${dist.home}"/>
|
||||
<copy file="RELEASE-NOTES.txt" todir="${dist.home}"/>
|
||||
<antcall target="jar"/>
|
||||
</target>
|
||||
<target name="dist-build" depends="clean,dist" description="Build binary distribution files">
|
||||
<copy file="${dist.home}/${final.name}.jar" todir="."/>
|
||||
<jar jarfile="${final.name}-sources.jar" basedir="${source.home}" manifest="${build.home}/conf/MANIFEST.MF"/>
|
||||
<jar jarfile="${final.name}-javadoc.jar" basedir="${dist.home}/docs/api" manifest="${build.home}/conf/MANIFEST.MF"/>
|
||||
|
|
Loading…
Reference in New Issue