summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-10-16 10:44:32 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-10-16 10:44:32 +0000
commita44eeedd3c6c9792dea33ed579be1276474f5c4f (patch)
tree022084764302fc454d5c987b9ba855d0d53179ae /build.xml
parent6ec1e724606341d2809c41499934a5c4517cbb67 (diff)
downloadscala-a44eeedd3c6c9792dea33ed579be1276474f5c4f.tar.gz
scala-a44eeedd3c6c9792dea33ed579be1276474f5c4f.tar.bz2
scala-a44eeedd3c6c9792dea33ed579be1276474f5c4f.zip
. scala.swing api is now included in the main api
. the downloadable scala-api.tgz is now called scala-devel-docs.tgz, and contains the same files as the correspondent sbaz package
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml34
1 files changed, 5 insertions, 29 deletions
diff --git a/build.xml b/build.xml
index 47110b3f62..8dd855096f 100644
--- a/build.xml
+++ b/build.xml
@@ -889,6 +889,7 @@ DOCUMENTATION
<src>
<files includes="${src.dir}/actors"/>
<files includes="${src.dir}/library/scala"/>
+ <files includes="${src.dir}/swing"/>
</src>
<include name="**/*.scala"/>
<exclude name="reflect/Code.scala"/>
@@ -954,28 +955,7 @@ DOCUMENTATION
<touch file="${build-docs.dir}/manual.complete" verbose="no"/>
</target>
- <target name="docs.pre-swing" depends="docs.man">
- <uptodate property="docs.swing.available" targetfile="${build-docs.dir}/swing.complete">
- <srcfiles dir="${src.dir}/swing"/>
- </uptodate>
- </target>
-
- <target name="docs.swing" depends="docs.pre-swing" unless="docs.swing.available">
- <stopwatch name="docs.swing.timer"/>
- <mkdir dir="${build-docs.dir}/swing"/>
- <scaladoc
- destdir="${build-docs.dir}/swing"
- windowtitle="Scala Swing Library"
- doctitle="Scala Swing ${version.number} API"
- classpathref="pack.classpath"
- srcdir="${src.dir}/swing">
- <include name="**/*.scala"/>
- </scaladoc>
- <touch file="${build-docs.dir}/swing.complete" verbose="no"/>
- <stopwatch name="docs.swing.timer" action="total"/>
- </target>
-
- <target name="docs.pre-comp" depends="docs.swing">
+ <target name="docs.pre-comp" depends="docs.man">
<uptodate property="docs.comp.available" targetfile="${build-docs.dir}/compiler.complete">
<srcfiles dir="${src.dir}/compiler"/>
</uptodate>
@@ -996,7 +976,7 @@ DOCUMENTATION
<stopwatch name="docs.comp.timer" action="total"/>
</target>
- <target name="docs.done" depends="docs.swing"/>
+ <target name="docs.done" depends="docs.man"/>
<target name="docs.clean">
<delete dir="${build-docs.dir}" includeemptydirs="yes" quiet="yes" failonerror="no"/>
@@ -1087,12 +1067,8 @@ DISTRIBUTION
<copy toDir="${dist.dir}/doc/scala-devel-docs/tools">
<fileset dir="${build-docs.dir}/manual/html"/>
</copy>
- <mkdir dir="${dist.dir}/doc/scala-devel-docs/swing"/>
- <copy file="${src.dir}/swing/doc/README" toDir="${dist.dir}/doc/scala-devel-docs/swing"/>
- <mkdir dir="${dist.dir}/doc/scala-devel-docs/swing/api"/>
- <copy toDir="${dist.dir}/doc/scala-devel-docs/swing/api">
- <fileset dir="${build-docs.dir}/swing"/>
- </copy>
+ <copy file="${src.dir}/swing/doc/README"
+ toFile="${dist.dir}/doc/scala-devel-docs/README.scala-swing"/>
</target>
<target name="dist.man" depends="dist.doc">