[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 11 Feb 2024 17:03:40 -0500 (EST) |
branch: master
commit ddf5e11ead42851da6771e084c099aa31133eb55
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Feb 11 21:38:38 2024 +0000
* Makefile.am (grand-replace): Add target to run grand-replace.sh
script.
* README-hacking: update
---
ChangeLog | 6 ++++++
Makefile.am | 4 ++++
README-hacking | 4 ++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2e174d94e6..348244405a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-11 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * Makefile.am (grand-replace): Add target to run grand-replace.sh
+ script.
+ * README-hacking: update
+
2024-02-11 Gavin Smith <gavinsmith0123@gmail.com>
* info/nodes.c (adjust_nodestart): Increase the "fudge size"
diff --git a/Makefile.am b/Makefile.am
index 37907e9dc4..eb27d027fd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,6 +81,10 @@ dtd-check:
&& diff $@-1 $(srcdir)/util/texinfo.dtd \
&& rm -f $@-1
+# For updating copyright years
+grand-replace:
+ ./grand-replace.sh $(srcdir)
+
# just for convenience:
update-po:
cd po && $(MAKE) update-po
diff --git a/README-hacking b/README-hacking
index 22a600f9b9..170011d1e6 100644
--- a/README-hacking
+++ b/README-hacking
@@ -212,8 +212,8 @@ We try to handle updating years in copyright notices
automatically to
relive people of the burden of remembering to update copyright years when
they edit a file for the first time in a new year.
-In a new year, run "./grand-replace.sh ." from the top level.
-Check changes with "git diff" before committing.
+In a new year, run "make grand-replace" from the top level. Check changes
+with "git diff" before committing.
Look for omissions by running, e.g.