Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Packaging for linux (.tar.gz)

  • Loading branch information...
commit 8669f84885640a5f1e5dfed21a4fb2758af618c8 1 parent c564672
Rustam Vishnyakov authored
Showing with 14 additions and 5 deletions.
  1. +14 −5 main/build.xml
19 main/build.xml
View
@@ -1,7 +1,7 @@
<!--
TimeCult Build File
- Copyright (c) R.Vishnyakov, 2005-2011 <dyadix@gmail.com>
+ Copyright (c) R.Vishnyakov, 2005-2012 <dyadix@gmail.com>
BUILD TARGETS:
@@ -188,13 +188,22 @@
</target>
<!-- Create a distributable package -->
- <target name="dist" depends="launcher">
- <zip destfile="./${build-stamp}-win32-portable.zip">
+ <target name="dist" depends="linux-dist,win-dist">
+
+ </target>
+
+ <target name="linux-dist" if="isOsLinux" depends="package">
+ <tar destfile="./${build-stamp}-linux-${os.arch}.tar.gz" compression="gzip">
+ <tarfileset dir="${dist}"/>
+ </tar>
+ </target>
+
+ <target name="win-dist" if="isOsWindows" depends="launcher">
+ <zip destfile="./${build-stamp}-win-${os.arch}-portable.zip">
<zipfileset dir="${dist}" prefix="${build-stamp}"/>
</zip>
</target>
-
<target name="launcher" depends="package" if="isOsWindows">
<copy file="${winrun4j.dir}/bin/WinRun4J.exe" tofile="${dist}/timecult.exe"/>
<copy file="${basedir}/timecult.ini" todir="${dist}"/>
@@ -250,7 +259,7 @@
use="true"
package="true"
windowtitle="TimeCult"
- bottom="Copyright (c) R.Vishnyakov, 2005-2010">
+ bottom="Copyright (c) R.Vishnyakov, 2005-2012">
</javadoc>
</target>
Please sign in to comment.
Something went wrong with that request. Please try again.