Bruno Haible <br...@clisp.org> writes:

> Simon Josefsson wrote:
>> I fixed the other remaining files with the attached patch.
>
> Thanks for doing this. I now did the same thing in other packages I maintain
> or help maintain.

The attached syntax-check rule will help us catch this problem in
packages.

/Simon
From 0a6cc3f25eb79cad1a12db4aef4f26a031a8d842 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <si...@josefsson.org>
Date: Mon, 2 Sep 2024 12:46:38 +0200
Subject: [PATCH] syntax-check: Catch obsolete Franklin Street usages.

* top/maint.mk (sc_franklin_street): New function.
---
 ChangeLog    | 5 +++++
 top/maint.mk | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index c7b372d2aa..2b8ee26738 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-02  Simon Josefsson  <si...@josefsson.org>
+
+	syntax-check: Catch obsolete Franklin Street usages.
+	* top/maint.mk (sc_franklin_street): New function.
+
 2024-09-02  Bruno Haible  <br...@clisp.org>
 
 	error, getprogname: Stricter dependency conditions.
diff --git a/top/maint.mk b/top/maint.mk
index 39372f99f4..68f027aa28 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1047,6 +1047,13 @@ sc_GFDL_version:
 	halt='GFDL vN, N!=3'						\
 	  $(_sc_search_regexp)
 
+# Look out for 'Franklin Street' addresses -- use URLs instead:
+# https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Code.html
+sc_franklin_street:
+	@prohibit='Franklin.*Street'					\
+	halt='use URLs instead of old Franklin Street postal address'	\
+	 $(_sc_search_regexp)
+
 # Don't use Texinfo's @acronym{}.
 # https://lists.gnu.org/r/bug-gnulib/2010-03/msg00321.html
 texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$
-- 
2.45.2

Attachment: signature.asc
Description: PGP signature

Reply via email to