awips2/nativeLib/dist.native/deploy-install.xml

21 lines
714 B
XML
Raw Normal View History

<project name="dist.native" default="deploy.all" basedir=".">
<property environment="env"/>
<property name="install.dir" value="${env.HOME}/awips"/>
<property name="native.target" value="i386-pc-linux-gnu" />
<property name="native.distributable.install.from" location="${basedir}/${native.target}.tar"/>
<target name="deploy.all">
<echo message="Deploying ${native.target} native distributable to ${install.dir}" />
<!-- ant's untar does not preserve permissions, so we'll execute tar directly -->
<exec executable="tar">
<arg value="-xpf"/>
<arg value="${native.distributable.install.from}"/>
<arg value="-C"/>
<arg value="${install.dir}"/>
</exec>
</target>
</project>