aboutsummaryrefslogtreecommitdiff
path: root/evolution/add-index/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/add-index/makefile')
-rw-r--r--evolution/add-index/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/evolution/add-index/makefile b/evolution/add-index/makefile
index c46222f..50a6673 100644
--- a/evolution/add-index/makefile
+++ b/evolution/add-index/makefile
@@ -45,8 +45,9 @@ test3-003-pre.sql test3-003-post.sql
$(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_add_i_
+$(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
@@ -74,7 +75,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