diff options
author | michelou <michelou@epfl.ch> | 2008-07-23 10:00:18 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-07-23 10:00:18 +0000 |
commit | 80f341ff128b066edbe5966a26276aa9323b983b (patch) | |
tree | 5dd44a66497866462aace0edefbc39353b78409c /build.xml | |
parent | fe07aac5bbd19485134bef22d78b29690d5f8e8e (diff) | |
download | scala-80f341ff128b066edbe5966a26276aa9323b983b.tar.gz scala-80f341ff128b066edbe5966a26276aa9323b983b.tar.bz2 scala-80f341ff128b066edbe5966a26276aa9323b983b.zip |
fixed script on windows
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -962,10 +962,19 @@ DISTRIBUTION <chmod perm="ugo+rx" file="${dist.dir}/bin/fsc"/> </target> - <target name="dist.latest" depends="dist.base" unless="os.win"> + <target name="dist.latest.unix" depends="dist.base" unless="os.win"> <symlink link="${dists.dir}/latest" resource="${dist.dir}" overwrite="yes"/> </target> + <target name="dist.latest.win" depends="dist.base" if="os.win"> + <copy todir="${dists.dir}"> + <fileset dir="${dist.dir}"/> + </copy> + </target> + + <target name="dist.latest" + depends="dist.latest.unix,dist.latest.win"/> + <target name="dist.doc" depends="dist.latest"> <mkdir dir="${dist.dir}/doc/scala"/> <copy file="${docs.dir}/LICENSE" toDir="${dist.dir}/doc/scala"/> |