aboutsummaryrefslogtreecommitdiff
path: root/evolution/data/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/data/makefile')
-rw-r--r--evolution/data/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/evolution/data/makefile b/evolution/data/makefile
index ea711ed..6787527 100644
--- a/evolution/data/makefile
+++ b/evolution/data/makefile
@@ -43,8 +43,9 @@ gen := $(gen1) $(gen2) $(gen3)
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): odb_common_options = --database $(db_id) --generate-query \
+$(gen) $(dist): odb_common_options = --generate-query \
--generate-schema --at-once --table-prefix evo_data_
+$(gen): odb_common_options += --database $(db_id)
$(gen1) $(dist): export odb_options1 = $(odb_common_options) --init-changelog
$(gen2) $(dist): export odb_options2 = $(odb_common_options) --omit-create \
--schema-name 2 --suppress-migration
@@ -72,7 +73,7 @@ $(out_base)/: $(driver)
#
name := $(subst /,-,$(subst $(src_root)/evolution/,,$(src_base)))
-$(dist): db_id := @database@
+
$(dist): sources := $(cxx_tun)
$(dist): headers := $(odb_hdr)
$(dist): export extra_headers := model.hxx