summaryrefslogtreecommitdiff
path: root/xsd/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-11-16 10:05:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-11-16 10:05:34 +0200
commit360b6146df220cf0b3af9ca8ca21b1217bea7ff4 (patch)
treee8230ffdea06d447f539f6c8b24f581aca4a9333 /xsd/makefile
parentfd32ca77e7beed31d601ef836be39cb6aa828a5f (diff)
Don't depend on installed cli executable
Diffstat (limited to 'xsd/makefile')
-rw-r--r--xsd/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/xsd/makefile b/xsd/makefile
index 6726f26..8587458 100644
--- a/xsd/makefile
+++ b/xsd/makefile
@@ -107,7 +107,11 @@ $(cxx_obj) $(cxx_od): \
genf := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(cli_tun:.cli=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
+# Don't depend on installed executable since it may not exist.
+#
+ifneq ($(cli),cli)
$(gen): $(cli)
+endif
$(gen): cli := $(cli)
$(gen): cli_options += \
-I $(src_base) \