[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix `make syntax-check'.
From: |
Zack Weinberg |
Subject: |
[PATCH] Fix `make syntax-check'. |
Date: |
Thu, 27 Feb 2020 16:02:59 -0500 |
There are two errors caught by make syntax-check currently.
First, the recent make update-copyright
(d78a7dd95fed24e417dfb4d08124a9ce7c1f7d1e) missed autoconf.texi, I
think because there are a bunch of .texi files in doc/ whose copyright
years should *not* be updated (e.g. standards.texi, fdl.texi) and the
exclusion pattern is too broad. I can't actually *find* the exclusion
pattern in the twisty maze of .mk files, all alike, so I just manually
updated autoconf.texi.
Second, it objects to an edit to an old section of NEWS. This is
because of d3dcd5895d64f6c86275c9333e2760a867e540e7, which is a
legitimate change (replacing http:// with https:// in a URL) so the
correct action is to change old_NEWS_hash to match.
OK for master?
zw
* doc/autoconf.texi: Update copyright year.
* cfg.mk (old_NEWS_hash): Update to acknowledge commit
d3dcd5895d64f6c86275c9333e2760a867e540e7.
---
cfg.mk | 2 +-
doc/autoconf.texi | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index 3a810cf1..ad7e8e10 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -136,7 +136,7 @@ update-release-year:
.PHONY: update-release-year
# Prevent incorrect NEWS edits.
-old_NEWS_hash = 8532b4ed4fb456eb71071a5cf8c258d4
+old_NEWS_hash = c10c99f23488565809ea61c7db6ce0d8
exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = \
^(maint\.mk|build-aux/texinfo\.tex)$$
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a591912a..594547c0 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -208,8 +208,8 @@
a package for creating scripts to configure source code packages using
templates and an M4 macro package.
-Copyright @copyright{} 1992--1996, 1998--2017 Free Software Foundation,
-Inc.
+Copyright @copyright{} 1992--1996, 1998--2017, 2020
+Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
--
2.25.1
- [PATCH] Fix `make syntax-check'.,
Zack Weinberg <=