summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2008-10-11 08:12:42 +0000
committermichelou <michelou@epfl.ch>2008-10-11 08:12:42 +0000
commitf7c0dd850c6d3b22e67ff2303e9c7de63110a727 (patch)
tree5b5a7deb749c1b7e1bfd1e53932d6c2dbbc34e09 /build.xml
parent546eb6e8a736228d4e6524cc6f5b10c7d3ef9fe3 (diff)
downloadscala-f7c0dd850c6d3b22e67ff2303e9c7de63110a727.tar.gz
scala-f7c0dd850c6d3b22e67ff2303e9c7de63110a727.tar.bz2
scala-f7c0dd850c6d3b22e67ff2303e9c7de63110a727.zip
fix 1106 (Windows issue)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 3f8c2a6e31..47110b3f62 100644
--- a/build.xml
+++ b/build.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<project name="sabbus" default="build">
@@ -920,7 +920,8 @@ DOCUMENTATION
destdir="${build.dir}/manmaker/classes"
classpathref="pack.classpath"
srcdir="${src.dir}/manual"
- includes="**/*.scala"/>
+ includes="**/*.scala"
+ addparams="${scalac.args}"/>
<path id="manual.classpath">
<pathelement location="${build-pack.dir}/lib/scala-library.jar"/>
<pathelement location="${build.dir}/manmaker/classes"/>
@@ -930,13 +931,18 @@ DOCUMENTATION
<target name="docs.man" depends="docs.manmaker" unless="docs.man.available">
<mkdir dir="${build-docs.dir}/manual/man/man1"/>
<mkdir dir="${build-docs.dir}/manual/html"/>
+ <mkdir dir="${build-docs.dir}/manual/genman/man1"/>
<taskdef name="genman"
classname="scala.tools.docutil.ManMaker"
classpathref="manual.classpath"/>
<genman command="fsc, sbaz, scala, scalac, scaladoc"
htmlout="${build-docs.dir}/manual/html"
- manout="${build-docs.dir}/manual/man"/>
- <fixcrlf srcdir="${build-docs.dir}/manual" eol="unix" includes="**/*.1"/>
+ manout="${build-docs.dir}/manual/genman"/>
+ <!-- On Windows source and target files can't be the same ! -->
+ <fixcrlf
+ srcdir="${build-docs.dir}/manual/genman"
+ destdir="${build-docs.dir}/manual/man"
+ eol="unix" includes="**/*.1"/>
<copy todir="${build-docs.dir}/manual/html">
<fileset dir="${src.dir}/manual/scala/tools/docutil/resources">
<include name="**/*.html"/>