]> sigrok.org Git - libsigrok.git/commitdiff
Clean Java files on any change that needs re-running SWIG.
authorMartin Ling <redacted>
Fri, 29 Aug 2014 12:56:40 +0000 (13:56 +0100)
committerMartin Ling <redacted>
Fri, 29 Aug 2014 12:56:40 +0000 (13:56 +0100)
Makefile.am

index c5f5ffb306d892b2aef49f773942f77db0492903..56d6230c9f8478467f46e874fa012216cd11df67 100644 (file)
@@ -506,6 +506,7 @@ $(JDOC): bindings/swig/doc.py $(CPPXMLDOC)
        $(AM_V_GEN)python $< java $(CPPXMLDOC) > $@
 
 $(JCXX): $(JSWG) $(JDOC) bindings/swig/classes.i $(library_include_HEADERS)
+       $(AM_V_at)make java-clean
        $(AM_V_GEN)swig -c++ -java -package org.sigrok.core.classes \
                -I$(srcdir)/include -I$(srcdir)/bindings/cxx/include -I$(srcdir) -I$(JCLS) -Ibindings/cxx/include -outdir $(JCLS) -o $@ $<