aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-27 15:38:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-27 15:38:42 +0200
commitcd1deec2f13b6976fb3aac0e5e8d42a79875aef1 (patch)
treee56e97b86e800f4173ba433b9ba76480d0f18d5b /build/bootstrap.make
parent2b3b6f26e5125bdc23d07c88c369b5c6ce070a61 (diff)
Build infrastructure for SQLite
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r--build/bootstrap.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make
index 8ec887b..07296c3 100644
--- a/build/bootstrap.make
+++ b/build/bootstrap.make
@@ -47,8 +47,10 @@ endif
# Database schema creation.
#
+ifeq ($(filter $(db_id),sqlite),)
$(out_base)/.test: schema = \
$(call message,sql $$1,$(dcf_root)/db-driver $$1,$(out_base)/test.sql)
+endif
# Dist setup.
#
@@ -60,7 +62,7 @@ ifeq ($(dist_prefix),)
$(error dist_prefix is not set)
endif
-databases := mysql
+databases := mysql sqlite
$(dist): databases := $(databases)
# $1 project template without the -vcN.vc[x]proj suffix.