aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.make
diff options
context:
space:
mode:
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r--build/bootstrap.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make
index c6039eb..f2f8699 100644
--- a/build/bootstrap.make
+++ b/build/bootstrap.make
@@ -45,6 +45,14 @@ clean: $(out_base)/.clean
endif
+# Database schema creation.
+#
+ifeq ($(filter $(db_id),sqlite),)
+$(out_base)/.test: schema = \
+$(call message,sql $$1,\
+$(dcf_root)/db-driver $$1,$(out_base)/$(basename $(header)).sql)
+endif
+
# Dist setup.
#
ifneq ($(filter $(MAKECMDGOALS),dist),)