<project name="chan" default="dist" basedir=".">
	<property name="src" location="src"/>
	<property name="build" location="build"/>
	<property name="dist" location="dist"/>
	<target name="init">
		<tstamp/>
		<mkdir dir="${build}"/>
	</target>
	<target name="compile" depends="init">
		<javac srcdir="${src}" destdir="${build}" includeantruntime="false"/>
	</target>
	<target name="dist" depends="compile">
		<jar jarfile="${dist}/chan.jar" basedir="${build}">
			<manifest>
				<attribute name="Main-Class" value="chan.chan"/>
			</manifest>
		</jar>
	</target>
	<target name="clean">
		<delete dir="${build}"/>
		<delete dir="${dist}"/>
	</target>
</project>

