]> git.draconx.ca Git - cdecl99.git/commitdiff
Release 1. v1
authorNick Bowler <nbowler@draconx.ca>
Wed, 24 Feb 2021 04:58:17 +0000 (23:58 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 3 Mar 2021 01:26:10 +0000 (20:26 -0500)
Makefile.am
NEWS [new file with mode: 0644]
configure.ac

index 6556f922276344142513d5d35f9000579ad83078..d4d375fb7053209fde821c9a1cae2937289e797c 100644 (file)
@@ -185,6 +185,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
 
 OPTFILES = src/options.opt
 .opt.h:
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 b30597aaa3c93798217d48e447458c2ed909c218..90440e3314fb2598c48e1302a3803cbe15755007 100644 (file)
@@ -5,10 +5,10 @@ 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_PREREQ([2.68])
-AC_INIT([cdecl99], [0.1], [nbowler@draconx.ca])
+AC_INIT([cdecl99], [1], [nbowler@draconx.ca])
 AC_CONFIG_HEADERS([config.h])
 
-AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])
+AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects dist-xz])
 AM_SILENT_RULES([yes])
 DX_AUTOMAKE_COMPAT