summaryrefslogtreecommitdiff
path: root/mysql-test/Makefile.am
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-06-25 23:21:14 +0400
committerkonstantin@mysql.com <>2004-06-25 23:21:14 +0400
commit172ab0ab8b2c21a7c4075dda1c0ed14f329fed9a (patch)
tree84a236e85117ca93c88861deface07085f97c440 /mysql-test/Makefile.am
parent8c867328cdf7522f5e799ec44241c88505f0564e (diff)
downloadmariadb-git-172ab0ab8b2c21a7c4075dda1c0ed14f329fed9a.tar.gz
Fix for 'make dist' 'make distclean' goals work even if ./configure
called without NDB enabled.
Diffstat (limited to 'mysql-test/Makefile.am')
-rw-r--r--mysql-test/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/Makefile.am b/mysql-test/Makefile.am
index 9a899361f59..e10c0739cb4 100644
--- a/mysql-test/Makefile.am
+++ b/mysql-test/Makefile.am
@@ -19,6 +19,13 @@
if HAVE_NDBCLUSTER_DB
SUBDIRS = ndb
+DIST_SUBDIRS=ndb
+else
+# If one uses automake conditionals, automake will automatically
+# include all possible branches to DIST_SUBDIRS goal.
+# Reset DIST_SUBDIRS if we don't use NDB
+SUBDIRS=
+DIST_SUBDIRS=
endif
benchdir_root= $(prefix)