diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -871,16 +871,16 @@ PACKED QUICK BUILD (PACK) <chmod perm="ugo+rx" file="${build-pack.dir}/bin/scaladoc"/> <chmod perm="ugo+rx" file="${build-pack.dir}/bin/fsc"/> <chmod perm="ugo+rx" file="${build-pack.dir}/bin/scalap"/> - <touch file="${build-pack.dir}/bin.complete" verbose="no"/> - </target> - <target name="pack.etc" depends="pack.bin" unless="pack.bin.available" > + <mkdir dir="${build-pack.dir}/etc"/> <exec executable="${build-pack.dir}/bin/scala" output="${build-pack.dir}/etc/scala_completion.sh" failifexecutionfails="false" > <arg line="scala.tools.util.BashCompletion" /> </exec> + + <touch file="${build-pack.dir}/bin.complete" verbose="no"/> </target> - <target name="pack.done" depends="pack.etc"> + <target name="pack.done" depends="pack.bin"> <path id="pack.classpath"> <pathelement location="${build-pack.dir}/lib/scala-library.jar"/> <pathelement location="${build-pack.dir}/lib/scala-compiler.jar"/> @@ -1453,6 +1453,10 @@ DISTRIBUTION <chmod perm="ugo+rx" file="${dist.dir}/bin/scaladoc"/> <chmod perm="ugo+rx" file="${dist.dir}/bin/fsc"/> <chmod perm="ugo+rx" file="${dist.dir}/bin/scalap"/> + <mkdir dir="${dist.dir}/etc"/> + <copy toDir="${dist.dir}/etc"> + <fileset dir="${build-pack.dir}/etc"/> + </copy> </target> <target name="dist.doc" depends="dist.base"> |