aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-28 14:05:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-28 14:05:22 +0200
commitc1de8a85b35664526fe4339fe6231a725b940437 (patch)
tree764d0ba0717468ed4d8b0605f84a98a503651bf1 /build
parent30d724885ac09024f58f3f6e10cfddadfc10d2ce (diff)
Support multiple .sql files
Diffstat (limited to 'build')
-rw-r--r--build/bootstrap.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make
index 3172920..17ee203 100644
--- a/build/bootstrap.make
+++ b/build/bootstrap.make
@@ -49,8 +49,9 @@ endif
#
ifeq ($(filter $(db_id),sqlite),)
$(out_base)/.test: schema = \
-$(call message,sql $$1,\
-$(dcf_root)/db-driver $$1,$(out_base)/$(basename $(header)).sql)
+$(foreach h,$(header),$(call \
+message,sql $$1,$(dcf_root)/db-driver \
+$$1,$(out_base)/$(basename $h).sql)$(literal_newline)$(literal_tab))
endif
# Dist setup.