aboutsummaryrefslogtreecommitdiff
path: root/odb
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
commitcea9f5cb274bd206314e1a111956f23e829e03e1 (patch)
treec888581611fcd5e952c39c181d023e269310db7f /odb
parent71f475d470670da9e771e8bed64393223d1ca179 (diff)
Don't try to depend on installed cli executable
Diffstat (limited to 'odb')
-rw-r--r--odb/sqlite/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/sqlite/makefile b/odb/sqlite/makefile
index 0b3f8b2..812e153 100644
--- a/odb/sqlite/makefile
+++ b/odb/sqlite/makefile
@@ -63,7 +63,12 @@ $(cxx_obj) $(cxx_od): $(odb_sqlite.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 \