Skip to content

Commit

Permalink
adjust build script
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinberlin committed Jul 14, 2014
1 parent e9c5340 commit 06cd279
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
3 changes: 0 additions & 3 deletions build.sh

This file was deleted.

16 changes: 7 additions & 9 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

<!-- ========== Compile Targets =========================================== -->

<target name="compile" depends="init, buildinfo" description="Compile">
<target name="compile" depends="init,copy-lib,buildinfo" description="Compile">

<javac srcdir="${source.home}"
destdir="${build.home}/classes"
Expand Down Expand Up @@ -323,17 +323,15 @@
<property name="javac.exe" value="javac"/>
<property name="java.exe" value="java"/>

<target name="copy">
<copy todir="${build.home}/opencl">
<fileset dir="${opencl.dir}"/>
</copy>
<copy todir="${build.home}/matlab">
<fileset dir="${matlab.dir}"/>
<target name="copy-lib">
<mkdir dir="${build.home}/${lib.dir}"/>
<copy todir="${build.home}/${lib.dir}">
<fileset dir="${lib.dir}"/>
</copy>
</target>

<path id="dep.runtime">
<fileset dir="./lib">
<fileset dir="./${lib.dir}">
<include name="**/*.jar" />
</fileset>
</path>
Expand All @@ -342,7 +340,7 @@
<target name="main" depends="jar-mhap">
</target>

<target name="jar-mhap" depends="compile">
<target name="jar-mhap" depends="clean,compile">

<copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
<copy file="NOTICE.txt" tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
Expand Down

0 comments on commit 06cd279

Please sign in to comment.