Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

build: re-run the code-generator when headers change

  • Loading branch information...
commit fb5faa0d504988095a23839f784194d90ac98a6c 1 parent 9e93f52
Cory Fields theuni authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 codegenerator.mk
4 codegenerator.mk
@@ -27,6 +27,8 @@ GENERATED += $(GENDIR)/AddonModuleXbmcplugin.cpp
27 27 GENERATED += $(GENDIR)/AddonModuleXbmcaddon.cpp
28 28 GENERATED += $(GENDIR)/AddonModuleXbmcvfs.cpp
29 29
  30 +GENERATE_DEPS += $(TOPDIR)/xbmc/interfaces/legacy/*.h
  31 +
30 32 vpath %.i $(INTERFACES_DIR)/swig
31 33
32 34 $(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG) $(DOXY_XML_PATH)
@@ -34,7 +36,7 @@ $(GENDIR)/%.cpp: $(GENDIR)/%.xml $(JAVA) $(SWIG) $(DOXY_XML_PATH)
34 36 groovy.ui.GroovyMain $(TOPDIR)/tools/codegenerator/Generator.groovy $< $(INTERFACES_DIR)/python/PythonSwig.cpp.template $@ $(DOXY_XML_PATH)
35 37 rm $<
36 38
37   -$(GENDIR)/%.xml: %.i $(SWIG) $(JAVA)
  39 +$(GENDIR)/%.xml: %.i $(SWIG) $(JAVA) $(GENERATE_DEPS)
38 40 mkdir -p $(GENDIR)
39 41 $(SWIG) -w401 -c++ -o $@ -xml -I$(TOPDIR)/xbmc -xmllang python $<
40 42

0 comments on commit fb5faa0

Please sign in to comment.
Something went wrong with that request. Please try again.