]> git.draconx.ca Git - gob-dx.git/blobdiff - Makefile.am
Expand the interface implementation test cases.
[gob-dx.git] / Makefile.am
index 60d79401a603af12ce20afa703420f0acafc715d..7f099572f602a7f1dbd2d2992bc675ced8d33ea8 100644 (file)
@@ -20,7 +20,8 @@ EXTRA_DIST = COPYING.GPL3 COPYING.generated-code \
              examples/foo-some-interface.gob examples/gtk-button-count.gob \
              examples/my-glade-main.c examples/my-glade.glade \
              examples/my-glade.gob gob2.spec src/generate_treefuncs.pl \
-             src/treefuncs.def src/treefuncs.stamp t/str.gob t/test.gob
+             src/treefuncs.def src/treefuncs.stamp t/str.gob t/test-fooable.c \
+             t/test-fooable.h t/test.gob
 
 CLEANFILES =
 DISTCLEANFILES =
@@ -126,5 +127,13 @@ distcheck-hook:
              echo '       *** be the stub from a git checkout.  The "git" and "perl"'; \
              echo '       *** programs are required for ChangeLog generation to work.'; \
              $(TEST_DISTRIBUTION_OR_ERROR); } >&2
+       $(GENERIC_V) : 'CHECK   ' NEWS; \
+         $(AWK) -F: 'NR == 1 && $$1 != "$(PACKAGE_VERSION)" \
+           { print FILENAME ":" NR ":", $$0; exit 1}' \
+           $(distdir)/NEWS || { \
+             echo 'ERROR: *** First line of NEWS should match the package version'; \
+             echo '       *** $(PACKAGE_VERSION), but that does not appear to be the case.'; \
+             echo '       *** Remember to update NEWS before preparing a release.'; \
+             $(TEST_DISTRIBUTION_OR_ERROR); } >&2
 
 include $(top_srcdir)/common/snippet/autotest.mk