aboutsummaryrefslogtreecommitdiff
path: root/codegenerator.mk
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2014-05-02 08:56:59 +0200
committerwsnipex <wsnipex@a1.net>2014-05-02 08:56:59 +0200
commitd783038188d169830e52fc7ee905f8a12abb8c46 (patch)
treee6372055589ff81e5b258236bbffbdcbee5bb8b6 /codegenerator.mk
parent7bffdd1daf440c4fda8470a06246d6a30fdc68b4 (diff)
[codegen] also look for JsonSchemaBuilder in PATH
Diffstat (limited to 'codegenerator.mk')
-rw-r--r--codegenerator.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/codegenerator.mk b/codegenerator.mk
index 02b08e5ca6..0cd5309035 100644
--- a/codegenerator.mk
+++ b/codegenerator.mk
@@ -20,8 +20,11 @@ endif
GENERATED_JSON = $(INTERFACES_DIR)/json-rpc/ServiceDescription.h
ifeq ($(wildcard $(JSON_BUILDER)),)
+ JSON_BUILDER = $(shell which JsonSchemaBuilder)
+ifeq ($(JSON_BUILDER),)
JSON_BUILDER = tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder
endif
+endif
GENDIR = $(INTERFACES_DIR)/python/generated
GROOVY_DIR = $(TOPDIR)/lib/groovy