summaryrefslogtreecommitdiff
path: root/mysql-test/Makefile.am
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-04-20 15:49:35 +0200
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-04-20 15:49:35 +0200
commit6c7647429b5ba9d7fcd8a09aceae56459c2d86a8 (patch)
tree602bce3aeb3a918da929578224d7b2a846d7a75a /mysql-test/Makefile.am
parentd59fd796231fa5bed78ec19fc83d96360b46d86e (diff)
downloadmariadb-git-6c7647429b5ba9d7fcd8a09aceae56459c2d86a8.tar.gz
Makefile.am:
Added the 'suite' directory to the source TAR and install mysql-test/Makefile.am: Added the 'suite' directory to the source TAR and install
Diffstat (limited to 'mysql-test/Makefile.am')
-rw-r--r--mysql-test/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/Makefile.am b/mysql-test/Makefile.am
index d48b8c7dfe4..3bd839bb1f0 100644
--- a/mysql-test/Makefile.am
+++ b/mysql-test/Makefile.am
@@ -33,7 +33,7 @@ endif
benchdir_root= $(prefix)
testdir = $(benchdir_root)/mysql-test
EXTRA_SCRIPTS = mysql-test-run-shell.sh install_test_db.sh valgrind.supp $(PRESCRIPTS)
-EXTRA_DIST = $(EXTRA_SCRIPTS)
+EXTRA_DIST = $(EXTRA_SCRIPTS) suite
GENSCRIPTS = mysql-test-run-shell mysql-test-run install_test_db mtr
PRESCRIPTS = mysql-test-run.pl
test_SCRIPTS = $(GENSCRIPTS) $(PRESCRIPTS)
@@ -67,6 +67,7 @@ dist-hook:
$(INSTALL_DATA) $(srcdir)/std_data/*.MY* $(distdir)/std_data
$(INSTALL_DATA) $(srcdir)/std_data/*.cnf $(distdir)/std_data
$(INSTALL_DATA) $(srcdir)/lib/*.pl $(distdir)/lib
+ -rm -rf `find $(distdir)/suite -type d -name SCCS`
install-data-local:
$(mkinstalldirs) \
@@ -98,6 +99,12 @@ install-data-local:
$(INSTALL_DATA) $(srcdir)/std_data/*.MY* $(DESTDIR)$(testdir)/std_data
$(INSTALL_DATA) $(srcdir)/std_data/*.cnf $(DESTDIR)$(testdir)/std_data
$(INSTALL_DATA) $(srcdir)/lib/*.pl $(DESTDIR)$(testdir)/lib
+ for f in `(cd $(srcdir); find suite -type f | grep -v SCCS)`; \
+ do \
+ d=$(DESTDIR)$(testdir)/`dirname $$f`; \
+ mkdir -p $$d ; \
+ $(INSTALL_DATA) $(srcdir)$$f $$d ; \
+ done
uninstall-local:
@RM@ -f -r $(DESTDIR)$(testdir)