aboutsummaryrefslogtreecommitdiff
path: root/codegenerator.mk
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-05-08 18:28:53 +0200
committermontellese <montellese@xbmc.org>2014-05-09 23:00:07 +0200
commit7fbef307365dcec2d4b93fd909e839a988736061 (patch)
treed7bec6013f9aafbfc4ca7d5313f7856fcfd8da83 /codegenerator.mk
parentfa6ca17b3bf71941c3bed8429d7c7db1af57c4f7 (diff)
[depends] auto-generate xbmc.json's addon.xml
Diffstat (limited to 'codegenerator.mk')
-rw-r--r--codegenerator.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/codegenerator.mk b/codegenerator.mk
index 0cd5309035..d9d3c9aa0b 100644
--- a/codegenerator.mk
+++ b/codegenerator.mk
@@ -18,7 +18,7 @@ else
DOXY_XML_PATH=$(GENDIR)/doxygenxml
endif
-GENERATED_JSON = $(INTERFACES_DIR)/json-rpc/ServiceDescription.h
+GENERATED_JSON = $(INTERFACES_DIR)/json-rpc/ServiceDescription.h addons/xbmc.json/addon.xml
ifeq ($(wildcard $(JSON_BUILDER)),)
JSON_BUILDER = $(shell which JsonSchemaBuilder)
ifeq ($(JSON_BUILDER),)
@@ -51,7 +51,7 @@ $(GENDIR)/%.xml: %.i $(SWIG) $(JAVA) $(GENERATE_DEPS)
mkdir -p $(GENDIR)
$(SWIG) -w401 -c++ -o $@ -xml -I$(TOPDIR)/xbmc -xmllang python $<
-codegenerated: $(DOXYGEN) $(SWIG) $(JAVA) $(GENERATED) $(GENERATED_JSON)
+codegenerated: $(DOXYGEN) $(SWIG) $(JAVA) $(GENERATED) $(GENERATED_JSON) $(GENERATED_ADDON_JSON)
$(DOXY_XML_PATH): $(SWIG) $(JAVA)
cd $(INTERFACES_DIR)/python; ($(DOXYGEN) Doxyfile > /dev/null) 2>&1 | grep -v " warning: "