From 55e350dc7050d5384f8d33a1583d6c8d8da4e1c3 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 23 Feb 2021 23:58:17 -0500 Subject: [PATCH] Release 1. --- Makefile.am | 8 ++++++++ NEWS | 2 ++ configure.ac | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 NEWS diff --git a/Makefile.am b/Makefile.am index 6556f92..d4d375f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 0000000..64e572a --- /dev/null +++ b/NEWS @@ -0,0 +1,2 @@ +Release 1: + * Initial release. diff --git a/configure.ac b/configure.ac index b30597a..90440e3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.43.0