aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-06-03 13:22:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-06-03 13:22:37 +0200
commitd83890c0c2c95da9e190a8f9a7ddc29cd621bef7 (patch)
treee19b17e63499e396cf592fa91758439c1c2b33e5 /build/bootstrap.make
parent6ec616d6ad29bcf00f3a4d9ed8bf53d44e589228 (diff)
Use database name in options and driver files (build part)
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r--build/bootstrap.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make
index cef108e..178f2aa 100644
--- a/build/bootstrap.make
+++ b/build/bootstrap.make
@@ -52,7 +52,7 @@ $(out_base)/.dist: export odb_header_stem := test
#
ifeq ($(filter $(db_id),sqlite),)
$(out_base)/.test: schema-body = \
-$(call message,sql $$1,$(dcf_root)/db-driver $$1,$1)$(literal_newline)$(literal_tab)
+$(call message,sql $$1,$(dcf_root)/$(db_id)-driver $$1,$1)$(literal_newline)$(literal_tab)
$(out_base)/.test: schema = \
$(foreach s,$(if $1,$1,$(out_base)/test.sql),$(call schema-body,$s))@:
endif