]> git.draconx.ca Git - slotifier.git/commitdiff
Release 1. v1
authorNick Bowler <nbowler@draconx.ca>
Sun, 14 Feb 2021 19:21:18 +0000 (14:21 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 14 Feb 2021 19:21:18 +0000 (14:21 -0500)
Makefile.am
NEWS [new file with mode: 0644]
configure.ac

index 9cda5060192f50a5378e536e9c07c6f5ef869df4..95157235c33775e9e2484c4bc560824892847765 100644 (file)
@@ -68,6 +68,14 @@ 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) 'NR == 1 && $$NF != "$(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
 
 # Supporting rules for gettext.
 include $(top_srcdir)/common/snippet/gettext.mk
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..64e572a
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,2 @@
+Release 1:
+       * Initial release.
index f5c7c70dc80a5437a17f90972cf56eb749498de3..cda4e692f22940b3a7d1f139cd8d9d854475e005 100644 (file)
@@ -4,7 +4,7 @@ dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
 dnl This is free software: you are free to do what the fuck you want to.
 dnl There is NO WARRANTY, to the extent permitted by law.
 
-AC_INIT([slotifier], [0], [nbowler@draconx.ca])
+AC_INIT([slotifier], [1], [nbowler@draconx.ca])
 AC_CONFIG_HEADER([config.h])
 
 AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])