SUBDIRS = . invoke scanner EXTRA_DIST = \ array.gir \ boxed.gir \ enum.gir \ errors.gir \ function.gir \ gobject.gir \ interface.gir \ object.gir \ struct.gir \ types.gir \ union.gir \ xref1.gir \ xref2.gir GIRTESTS = \ boxed.gir.test \ constant.gir.test \ enum.gir.test \ gobject.gir.test \ object.gir.test \ struct.gir.test %.gir.test: %.gir @echo Testing $<: $(top_builddir)/tools/g-ir-compiler --raw $< > $<.1; \ $(top_builddir)/tools/g-ir-generate --raw $<.1 > $<.2; \ diff -u $< $<.2; rm $<.1 $<.2 check-local: $(GIRTESTS) @echo Running PEP8 on Python sources @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat @echo Running Pyflakes on Python sources @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py