From d3e68edc2b5e37ed3b585dde1f36066e5c3c02e6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 27 Mar 2011 14:29:03 +0200 Subject: Don't run fake db driver for SQLite By default embedded schema is used. --- build/bootstrap.make | 8 ++++++++ build/sqlite/configure | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'build') 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 -- cgit v1.1