make sure build.dir gets created as well. Plus make sure we exclude the results of running Forrest (src/site/build) from the source packaging.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2006-12-21 03:32:42 +00:00
parent d9ebc50096
commit 6b52621be3
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@
<patternset id="src.dist.patterns"
includes="src/,build.xml,*build*.xml,docs/,*.txt,contrib/,"
excludes="contrib/*/lib/"
excludes="contrib/*/lib/,src/site/build/"
/>
<patternset id="binary.build.dist.patterns"
includes="${final.name}.jar,${demo.war.name}.war,${demo.name}.jar,docs/,contrib/*/*.jar"
@ -209,7 +209,9 @@
<!-- S O U R C E D I S T R I B U T I O N -->
<!-- ================================================================== -->
<target name="init-dist" >
<!-- Package is not called first if packaging src standalone, so the dist.dir may not exist -->
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}"/>
</target>
<!-- ================================================================== -->