summaryrefslogtreecommitdiff
path: root/mysql-test/Makefile.am
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-06-25 23:21:14 +0400
committerunknown <konstantin@mysql.com>2004-06-25 23:21:14 +0400
commit3b79bf10e2afc3029eae6c1cc8cc94f27850b7b6 (patch)
tree84a236e85117ca93c88861deface07085f97c440 /mysql-test/Makefile.am
parent59899c2ff6428d92ba1d7678ec5a7c2bd561faf5 (diff)
downloadmariadb-git-3b79bf10e2afc3029eae6c1cc8cc94f27850b7b6.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)