<?xml version="1.0"?>
<!--

  Ant Buildfile for IAIK libraries Update ZIPs
  
  Author: Gregor Karlinger

  $Id$

-->
<project name="moa-spss-iaiklibs-update-zipbuilder" default="build-all" basedir=".">
  <property environment="env"/>

  <property name="zipname.eval" value="dist/${env.ZIPFILE_EVAL}"/>
  <property name="zipname.prod" value="dist/${env.ZIPFILE_PROD}"/>
	
  <target name="init">
    <description>set up directories etc.</description>
    <mkdir dir="dist"/>
  </target>

  <target name="build-eval" depends="init">
    <description>Generates a zip containing the IAIK evaluation library update</description>
    <zip destfile="${zipname.eval}">
      <fileset dir="." includes="ant.1-6-5/**, iaiklibs.eval/**, setEnvironment.bat, update.eval.bat, update.xml, readme.eval.txt"/>
    </zip>  
  </target>
  
  <target name="build-prod" depends="init">
    <description>Generates a zip containing the IAIK production library update</description>
    <zip destfile="${zipname.prod}">
      <fileset dir="." includes="ant.1-6-5/**, iaiklibs.prod/**, setEnvironment.bat, update.prod.bat, update.xml, readme.prod.txt"/>
    </zip>  
  </target>
	
  <target name="build-all" depends="build-eval, build-prod"/>	
</project>