From ad87e7b3147d9b00efcca08bdc4c6fd98e523aeb Mon Sep 17 00:00:00 2001 From: "kent@mysql.com" <> Date: Sat, 17 Jun 2006 15:37:23 +0200 Subject: [PATCH] Makefile.am: Avoid error message trying 'windoze-dsp' in obsolete directory compile-dist: Avoid error message for target 'distclean' and no Makefile --- BUILD/compile-dist | 2 +- ndb/Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILD/compile-dist b/BUILD/compile-dist index 39095f59ffa..613f2643c56 100755 --- a/BUILD/compile-dist +++ b/BUILD/compile-dist @@ -6,7 +6,7 @@ # tree can then be picked up by "make dist" to create the "pristine source # package" that is used as the basis for all other binary builds. # -make distclean +test -f Makefile && make distclean aclocal autoheader libtoolize --automake --force --copy diff --git a/ndb/Makefile.am b/ndb/Makefile.am index 32c821383e6..7162253f24b 100644 --- a/ndb/Makefile.am +++ b/ndb/Makefile.am @@ -19,7 +19,8 @@ dist-hook: done windoze: - for i in `find . -name 'Makefile.am'`; do make -C `dirname $$i` windoze-dsp; done + for i in `find . -name 'old_dirs' -prune -o -name 'Makefile.am' -print`; \ + do make -C `dirname $$i` windoze-dsp; done windoze-dsp: