]> git.draconx.ca Git - gob-dx.git/commitdiff
Update NEWS to describe new features.
authorNick Bowler <nbowler@draconx.ca>
Tue, 4 Feb 2020 05:21:30 +0000 (00:21 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 4 Feb 2020 05:56:43 +0000 (00:56 -0500)
And add a distcheck-hook to check that the NEWS file describes the
current package version.

Makefile.am
NEWS

index 60d79401a603af12ce20afa703420f0acafc715d..8ed1bdb97dad1f529d036b653c25ac2c123fba69 100644 (file)
@@ -126,5 +126,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
diff --git a/NEWS b/NEWS
index 6433e2cd5b5524bf7f0368c35204f5b8421afad2..b1f9e590489c0d63a93dd6f3cee07569975eabff 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+2.0.20a:
+       * Improve build system.
+       * Remove NOINSTGOB functionality as it seems pointless.
+       * Add support for dynamic GObject types.
+       * New and improved GOB2_CHECK macro.
+
 2.0.20:
        * Require glib 2.4, and change use of the _take_ownership functions
          to _take_ functions