Hi,

The attached patch will allow "./build.sh distclean" to delete not only
the *.tar.gz and *.zip files of the current version, but also the
*.tar.gz and *.zip files from earlier versions.

Also the delete command for *.tar is not needed.

-- 
Weiqi Gao
[EMAIL PROTECTED]
2001-08-12  Weiqi Gao  <[EMAIL PROTECTED]>

        * Modified distclean target in build.xml to delete all versions of
        tar.gz and zip archives, not only the current version.  Removed
        the delete command for tar archives as they are not needed.
Index: build.xml
===================================================================
RCS file: /home/cvspublic/xml-fop/build.xml,v
retrieving revision 1.38
diff -u -r1.38 build.xml
--- build.xml   2001/08/12 17:37:25     1.38
+++ build.xml   2001/08/12 21:02:19
@@ -684,9 +684,8 @@
     <delete dir="${dist.src.dir}"/>
     <delete dir="${dist.bin.dir}"/>
     <delete>
-       <fileset dir="${basedir}" includes="${Name}-${version}*.tar.gz"/>
-       <fileset dir="${basedir}" includes="${Name}-${version}*.tar"/>
-       <fileset dir="${basedir}" includes="${Name}-${version}*.zip"/>
+       <fileset dir="${basedir}" includes="${Name}-*.tar.gz"/>
+       <fileset dir="${basedir}" includes="${Name}-*.zip"/>
     </delete>
   </target>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to