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
commitfb963d87731dbd11d6c7df7a561eec792c1cee27 (patch)
tree1f35f0c4257e2c7447cdd3e9087297c373be1a15
parent06e8cada6060b3408484d71f6bb576cae2409216 (diff)
Don't try to depend on installed cli executable
-rw-r--r--odb/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/makefile b/odb/makefile
index 2326782..c858407 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -204,7 +204,12 @@ $(cutl.l.cpp-options)
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 += \
--generate-modifier \