aboutsummaryrefslogtreecommitdiff
path: root/codegenerator.mk
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2016-04-23 12:02:47 +0200
committerAlwin Esch <alwin.esch@web.de>2016-05-12 13:28:45 +0200
commitbc1059b94553a5c89bbecfea41b64d34adb09df7 (patch)
tree7cb4e0cf4a49e851c38c349966d08942a13ccd89 /codegenerator.mk
parentd41dfa2592ef56e68c7202c872f88da3a1c051ef (diff)
[addon] remove no more needed python doxygen xml
Diffstat (limited to 'codegenerator.mk')
-rw-r--r--codegenerator.mk21
1 files changed, 3 insertions, 18 deletions
diff --git a/codegenerator.mk b/codegenerator.mk
index 01f80e388b..5f8bdd97de 100644
--- a/codegenerator.mk
+++ b/codegenerator.mk
@@ -11,13 +11,6 @@ ifeq ($(SWIG),)
SWIG = swig-not-found
endif
-DOXYGEN ?= $(shell which doxygen)
-ifeq ($(DOXYGEN),)
-DOXYGEN = doxygen-not-found
-else
-DOXY_XML_PATH=$(GENDIR)/doxygenxml
-endif
-
GENERATED_JSON = $(INTERFACES_DIR)/json-rpc/ServiceDescription.h addons/xbmc.json/addon.xml
ifeq ($(wildcard $(JSON_BUILDER)),)
JSON_BUILDER = $(shell which JsonSchemaBuilder)
@@ -40,27 +33,19 @@ GENERATE_DEPS += $(TOPDIR)/xbmc/interfaces/legacy/*.h $(TOPDIR)/xbmc/interfaces/
vpath %.i $(INTERFACES_DIR)/swig
-$(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG) $(DOXY_XML_PATH)
+$(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG)
# Work around potential groovy bug reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733234
$(JAVA) -cp "$(GROOVY_DIR)/groovy-all-2.4.4.jar:$(GROOVY_DIR)/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \
org.codehaus.groovy.tools.FileSystemCompiler -d $(TOPDIR)/tools/codegenerator $(TOPDIR)/tools/codegenerator/Helper.groovy $(TOPDIR)/tools/codegenerator/SwigTypeParser.groovy $(INTERFACES_DIR)/python/MethodType.groovy $(INTERFACES_DIR)/python/PythonTools.groovy
$(JAVA) -cp "$(GROOVY_DIR)/groovy-all-2.4.4.jar:$(GROOVY_DIR)/commons-lang-2.6.jar:$(TOPDIR)/tools/codegenerator:$(INTERFACES_DIR)/python" \
- groovy.ui.GroovyMain $(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@ $(DOXY_XML_PATH)
+ groovy.ui.GroovyMain $(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@
rm $<
$(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) $(GENERATED_ADDON_JSON)
-
-$(DOXY_XML_PATH): $(SWIG) $(JAVA)
- cd $(INTERFACES_DIR)/python; ($(DOXYGEN) Doxyfile > /dev/null) 2>&1 | grep -v " warning: "
- touch $@
-
-$(DOXYGEN):
- @echo "Warning: No doxygen installed. The Api will not have any docstrings."
- mkdir -p $(GENDIR)/doxygenxml
+codegenerated: $(SWIG) $(JAVA) $(GENERATED) $(GENERATED_JSON) $(GENERATED_ADDON_JSON)
$(JAVA):
@echo Java not found, it will be used if found after configure.