aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \