Alexandre Julliard : makefiles: Don't recurse for the testclean target.

Alexandre Julliard julliard at winehq.org
Mon Mar 15 12:19:29 CDT 2010


Module: wine
Branch: master
Commit: 8e9f7a30b62165c906869a671ce3ffb0fa72cbca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e9f7a30b62165c906869a671ce3ffb0fa72cbca

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Mar 13 18:44:58 2010 +0100

makefiles: Don't recurse for the testclean target.

---

 Makefile.in |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index d93ea81..fbc38ab 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -148,15 +148,13 @@ $(ALL_TEST_DIRS:%=%/__test__): dummy
 $(ALL_TEST_DIRS:%=%/__crosstest__): dummy
 	@cd `dirname $@` && $(MAKE) crosstest
 
-$(ALL_TEST_DIRS:%=%/__testclean__): dummy
-	@cd `dirname $@` && $(MAKE) testclean
-
 check test:: $(ALL_TEST_DIRS:%=%/__test__)
 crosstest:: $(ALL_TEST_DIRS:%=%/__crosstest__)
-testclean:: $(ALL_TEST_DIRS:%=%/__testclean__)
 
-.PHONY: check test testclean crosstest $(ALL_TEST_DIRS:%=%/__test__) \
-	$(ALL_TEST_DIRS:%=%/__crosstest__) $(ALL_TEST_DIRS:%=%/__testclean__)
+testclean::
+	$(RM) $(ALL_TEST_DIRS:%=%/*.ok)
+
+.PHONY: check test testclean crosstest $(ALL_TEST_DIRS:%=%/__test__) $(ALL_TEST_DIRS:%=%/__crosstest__)
 
 # Rules for auto documentation
 
@@ -230,7 +228,6 @@ RECURSE_TARGETS = \
 	__instal-dev__ \
 	__install-lib__ \
 	__uninstall__ \
-	__testclean__ \
 	__crosstest__
 
 $(MAKEDEP): include/config.h tools/Makefile




More information about the wine-cvs mailing list