]> Savannah Git Hosting - gnulib.git/commitdiff
syntax-check: Catch obsolete Franklin Street usages.
authorSimon Josefsson <simon@josefsson.org>
Mon, 2 Sep 2024 10:46:38 +0000 (12:46 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 2 Sep 2024 10:46:38 +0000 (12:46 +0200)
* top/maint.mk (sc_franklin_street): New function.

ChangeLog
top/maint.mk

index c7b372d2aab6de5fb6dfef41eb0b5699ade353da..2b8ee26738afec678eccadbbc0a18309275ec430 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-02  Simon Josefsson  <simon@josefsson.org>
+
+       syntax-check: Catch obsolete Franklin Street usages.
+       * top/maint.mk (sc_franklin_street): New function.
+
 2024-09-02  Bruno Haible  <bruno@clisp.org>
 
        error, getprogname: Stricter dependency conditions.
index 39372f99f455c736f24a6cf6fd25881e1be2dba4..68f027aa289413b6fe1d69ed023d7dda9f5b109d 100644 (file)
@@ -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)?)$$