include $(top_srcdir)/common.mk
-CHECKGIRS =
+EXPECTEDGIRS =
BUILT_GIRSOURCES =
CLEANFILES =
EXTRA_DIST =
$(srcdir)/everything.h $(srcdir)/everything.c \
--output $@
BUILT_GIRSOURCES += Everything-$(TYPELIB_VERSION).gir
-CHECKGIRS += Everything-$(TYPELIB_VERSION)-expected.gir
+EXPECTEDGIRS += Everything-$(TYPELIB_VERSION)-expected.gir
# Generic rules
CLEANFILES += $(BUILT_GIRSOURCES)
%.gir.check: %.gir
@diff -u -U 10 $(srcdir)/$*-expected.gir $*.gir && echo " TEST $*.gir"
+CHECKGIRS = $(EXPECTEDGIRS:-expected.gir=.gir.check)
check-local: $(CHECKGIRS)
# Check that typelib -> gir -> typelib transformation is lossless.
#check-local: $(typelibs_DATA:%.typelib=testlib-%)
check-gir: $(typelibs_DATA:%.typelib=testgir-%)
-EXTRA_DIST += $(CHECKGIRS)
+EXTRA_DIST += $(EXPECTEDGIRS)