summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBUILD/compile-dist2
-rw-r--r--ndb/Makefile.am3
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 3aac54b38ee..ead70766e97 100644
--- a/ndb/Makefile.am
+++ b/ndb/Makefile.am
@@ -20,7 +20,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: