Make info.xml valid
[grauphel.git] / build.xml
index 2cec679..69c8d02 100644 (file)
--- a/build.xml
+++ b/build.xml
       </replaceregexp>
     </filterchain>
   </loadfile>
-  <property name="zipfile"  value="${phing.project.name}-${version}.zip" />
+  <property name="zipfile"  value="${phing.project.name}-${version}.tar.gz" />
   <property name="distfile" value="dist/${zipfile}" />
 
   <fileset id="fs.zip" dir=".">
    <include name="**"/>
    <exclude name="dist/"/>
    <exclude name=".git"/>
+   <exclude name=".travis.yml"/>
    <exclude name="**/.gitignore"/>
    <exclude name="**/build.xml"/>
    <exclude name="**/README.html"/>
      </then>
     </if>
     <!--<delete file="${distfile}" failonerror="false"/>-->
-    <zip destfile="${distfile}" prefix="grauphel/">
+    <tar destfile="${distfile}" prefix="grauphel/" compression="gzip">
       <fileset refid="fs.zip"/>
-    </zip>
+    </tar>
   </target>
 
+ <target name="docs" description="render documentation">
+  <rst file="README.rst"/>
+  <rst file="docs/howto.rst"/>
+ </target>
+
 </project>