also generates sources tarball

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10547 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2007-03-27 11:24:08 +00:00
parent 68dfa37219
commit 42f29d362a
1 changed files with 12 additions and 0 deletions

View File

@ -1139,6 +1139,18 @@ GENERATES A DISTRIBUTION
file="${dist.dir}/scala-${version.number}.zip"
forceOverwrite="yes"
fileext=".md5"/>
<!-- Create source archive -->
<copy todir="${dist.dir}/scala-${version.number}">
<fileset
dir="${basedir}"
excludes="build,build/**,dists/**"
/>
</copy>
<tar basedir="${dist.dir}"
destfile="${dist.dir}/scala-${version.number}-sources.tgz"
compression="gzip"
includes="scala-${version.number}/**"
/>
</target>
<!-- ===========================================================================