]> git.draconx.ca Git - rarpd-dx.git/commitdiff
Add NEWS.
authorNick Bowler <nbowler@draconx.ca>
Thu, 27 Jul 2023 03:02:26 +0000 (23:02 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 27 Jul 2023 03:02:26 +0000 (23:02 -0400)
Makefile.am
NEWS [new file with mode: 0644]

index 31d7c11646718376afd3b2aca2cfaec7f15cf9c0..4766d1a01de79fed3e79540e46d74759c586b0b0 100644 (file)
@@ -84,3 +84,11 @@ 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
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..04beabb
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,2 @@
+Release 1:
+       * Initial release of rarpd separated from iputils.