aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-30 16:31:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-30 16:31:13 +0200
commit0d92ba3394bd53ee0a1ac7b45fba9972f325b0c7 (patch)
treea92fd5593c5d7d83924a5475f4f91a1351ddbb74
parenta744002218c2d61421483ebeb31f4fdbf23f3258 (diff)
Don't try to depend on installed cli executable
-rw-r--r--odb/oracle/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/oracle/makefile b/odb/oracle/makefile
index 5e73dd5..ccf7fc8 100644
--- a/odb/oracle/makefile
+++ b/odb/oracle/makefile
@@ -65,7 +65,12 @@ $(cxx_obj) $(cxx_od): $(odb_oracle.l.cpp-options) $(out_base)/details/config.h
genf := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(cli_tun:.cli=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
+# Don't try to depend on the installed executable.
+#
+ifneq ($(cli),cli)
$(gen): $(cli)
+endif
+
$(gen): cli := $(cli)
$(gen): cli_options += \
--long-usage \