applied patch from Mike Hommey fixing distclean, fixes #520387 Daniel

* xstc/Makefile.am: applied patch from Mike Hommey fixing distclean,
  fixes #520387
Daniel

svn path=/trunk/; revision=3723
diff --git a/ChangeLog b/ChangeLog
index 216cfe8..40c8f15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr  3 07:40:13 CEST 2008 Daniel Veillard <daniel@veillard.com>
+
+	* xstc/Makefile.am: applied patch from Mike Hommey fixing distclean,
+	  fixes #520387
+
 Thu Apr  3 06:52:32 CEST 2008 Daniel Veillard <daniel@veillard.com>
 
 	* include/libxml/xpath.h: small doc improvement for xmlXPathContext
diff --git a/xstc/Makefile.am b/xstc/Makefile.am
index 2d24f02..966a8de 100644
--- a/xstc/Makefile.am
+++ b/xstc/Makefile.am
@@ -128,8 +128,5 @@
 	   echo '## Running the regression tests under Valgrind' ;	\
 	   $(MAKE) CHECKER='valgrind -q' MAKEFLAGS+=--silent pytests ; fi);
 
-clean:
-	rm -f $(PYSCRIPTS) test.log
+CLEANFILES=$(PYSCRIPTS) test.log
 
-distclean:
-	rm -rf $(PYSCRIPTS) test.log # TESTDIRS