Let's just install rather than build and install here as well.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@337 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- build the native libraries -->
|
<!-- build the native libraries -->
|
||||||
<target name="ncompile" depends="prepare">
|
<target name="ninstall" depends="prepare">
|
||||||
<echo level="info" message="Doing native compilation on ${os.name}..."/>
|
<echo level="info" message="Doing native compilation on ${os.name}..."/>
|
||||||
<exec os="Linux" dir="src/java/com/threerings/util/keybd/Linux"
|
<exec os="Linux" dir="src/java/com/threerings/util/keybd/Linux"
|
||||||
executable="make"><arg line="install"/></exec>
|
executable="make"><arg line="install"/></exec>
|
||||||
@@ -122,11 +122,10 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- a target for rebuilding everything -->
|
<!-- a target for rebuilding everything -->
|
||||||
<target name="all"
|
<target name="all" depends="clean,prepare,compile,ninstall,javadoc,tests,dist"/>
|
||||||
depends="clean,prepare,compile,ncompile,javadoc,tests,dist"/>
|
|
||||||
|
|
||||||
<!-- builds our distribution files (war and jar) -->
|
<!-- builds our distribution files (war and jar) -->
|
||||||
<target name="dist" depends="prepare,compile,ncompile,tests">
|
<target name="dist" depends="prepare,compile,ninstall,tests">
|
||||||
<!-- build our various jar files -->
|
<!-- build our various jar files -->
|
||||||
<jar destfile="${deploy.dir}/${app.name}-rsrc.jar">
|
<jar destfile="${deploy.dir}/${app.name}-rsrc.jar">
|
||||||
<fileset dir="${classes.dir}" includes="com/threerings/resource/**"/>
|
<fileset dir="${classes.dir}" includes="com/threerings/resource/**"/>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ TARGET=libunsafe.so
|
|||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
install: ${TARGET}
|
install:
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
cp ${TARGET} ${INSTALL_PATH}
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ TARGET=libunsafe.so
|
|||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
install: ${TARGET}
|
install:
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
cp ${TARGET} ${INSTALL_PATH}
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ TARGET=libunsafe.jnilib
|
|||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
install: ${TARGET}
|
install:
|
||||||
@${MKDIR} -p ${INSTALL_PATH}
|
@${MKDIR} -p ${INSTALL_PATH}
|
||||||
cp ${TARGET} ${INSTALL_PATH}
|
cp ${TARGET} ${INSTALL_PATH}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user