aboutsummaryrefslogtreecommitdiff
path: root/mysql/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/makefile')
-rw-r--r--mysql/makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mysql/makefile b/mysql/makefile
index ae1b83f..53dd049 100644
--- a/mysql/makefile
+++ b/mysql/makefile
@@ -6,16 +6,24 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
tests := \
+template \
truncation \
-types \
-template
+types
default := $(out_base)/
+dist := $(out_base)/.dist
test := $(out_base)/.test
clean := $(out_base)/.clean
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
+
+$(dist): export dirs := $(tests)
+$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(tests)))
+ $(call meta-automake)
+
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
+$(call include,$(bld_root)/meta/automake.make)
+
$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile))