diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 14:29:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-27 14:29:03 +0200 |
commit | d3e68edc2b5e37ed3b585dde1f36066e5c3c02e6 (patch) | |
tree | a2cee652e775aece4cf2f7ed6e09d52eb8613fb1 /build | |
parent | 534c5958af6104aea60a9fcb0d823a5c3cfed1bc (diff) |
Don't run fake db driver for SQLite
By default embedded schema is used.
Diffstat (limited to 'build')
-rw-r--r-- | build/bootstrap.make | 8 | ||||
-rwxr-xr-x | build/sqlite/configure | 5 |
2 files changed, 8 insertions, 5 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),) diff --git a/build/sqlite/configure b/build/sqlite/configure index 64b4f1b..621d582 100755 --- a/build/sqlite/configure +++ b/build/sqlite/configure @@ -19,10 +19,5 @@ $echo db=`read_value` opt=$dcf_root/db.options -drv=$dcf_root/db-driver echo "--database '$db'" >$opt - -echo "#!/bin/sh" >$drv -echo "# dummy" >>$drv -chmod 755 $drv |