From fb963d87731dbd11d6c7df7a561eec792c1cee27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Nov 2015 16:31:13 +0200 Subject: Don't try to depend on installed cli executable --- odb/makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 \ -- cgit v1.1