# HG changeset patch
# User Markus Bröker <mbroeker@largo.homelinux.org>
# Date 1229172096 -3600
# Node ID f4add19ab159332fd3bb894673a762806083e944
# Parent  930f3c241fa5a3a4577e615f61709da38d76af31
I changed the ant rule for javadoc.

diff --git a/.gitignore b/.gitignore
new file mode 100644
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,1 @@
+doc/*
diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,7 @@
 	<property name="jar.file" value="bin/games.jar" />
 	<property name="classpath.dir" value="/usr/local/lib/classes" />
 	<property name="www.dir" value="/var/www/localhost/htdocs/classes" />
-	<property name="docs.dir" value="docs/" />
+	<property name="docs.dir" value="doc/" />
 	<property name="debug" value="simu" />
 
 	<property name="distributable.exts"
@@ -30,24 +30,24 @@
 	    depends="compile,docs-init"
     	description="Generate JavaDocs.">
 
-    <javadoc destdir="${docs.dir}"
-        author="true"
-        version="true"
-        use="true"
-        windowtitle="${ant.project.name}"
-        sourcepathref="Schach.classpath"
-        packagenames="org.*"
-        verbose="false">
-        <doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
-        <bottom>
-            <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
-        </bottom>
-    </javadoc>
+	    <javadoc destdir="${docs.dir}"
+    	    author="true"
+        	version="true"
+	        use="true"
+    	    windowtitle="${ant.project.name}"
+        	sourcepathref="Schach.classpath"
+	        packagenames="org.*"
+    	    verbose="false">
+        	<doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
+	        <bottom>
+    	        <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
+        	</bottom>
+	    </javadoc>
+	</target>
 
+	<target name="docs-init">
+	    <mkdir dir="${docs.dir}"/>
 	</target>
-		<target name="docs-init">
-		    <mkdir dir="${docs.dir}"/>
-		</target>
 
 	<target name="docs-clean">
     	<delete dir="${docs.dir}"/>