From 9b02b5cddb16a4692c06d2e56b5755133540d2b3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 24 Feb 2010 12:26:11 +0100 Subject: [PATCH] makefiles: Remove makedep only after everything else has been cleaned. --- Makefile.in | 3 ++- tools/Makefile.in | 3 +-- tools/make_makefiles | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2cd8bf1097b..187f5634021 100644 --- a/Makefile.in +++ b/Makefile.in @@ -107,7 +107,7 @@ $(ALL_DIRS:%=%/__clean__): dummy @cd `dirname $@` && $(MAKE) clean clean:: $(ALL_DIRS:%=%/__clean__) - $(RM) $(ALL_DIRS:%=%/Makefile) + $(RM) $(ALL_DIRS:%=%/Makefile) tools/makedep$(EXEEXT) distclean:: clean $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h $(ALL_CONFIGS) @@ -229,6 +229,7 @@ RECURSE_TARGETS = \ __instal-dev__ \ __install-lib__ \ __uninstall__ \ + __testclean__ \ __crosstest__ $(MAKEDEP): include/config.h tools/Makefile diff --git a/tools/Makefile.in b/tools/Makefile.in index 2d5190b0092..2f6eaca091e 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -12,7 +12,6 @@ PROGRAMS = \ fnt2bdf$(EXEEXT) \ fnt2fon$(EXEEXT) \ make_ctests$(EXEEXT) \ - makedep$(EXEEXT) \ relpath$(EXEEXT) \ sfnt2fnt$(EXEEXT) \ wine.inf \ @@ -40,7 +39,7 @@ INSTALLDIRS = \ UPDATE_DESKTOP_DATABASE = update-desktop-database -all: $(PROGRAMS) $(MANPAGES) +all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES) @MAKE_RULES@ diff --git a/tools/make_makefiles b/tools/make_makefiles index 04a351c36e9..a3efc3ba22b 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -97,6 +97,7 @@ my @ignores = ( "programs/winetest/*_test.exe", "programs/winetest/*_test.rc", "programs/winetest/build.rc", + "tools/makedep", ); # Source files and their resulting target to ignore