user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH] Makefile.PL: add update-copyrights target
@ 2021-01-01  5:12  7% Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2021-01-01  5:12 UTC (permalink / raw)
  To: meta

It might save me a few cycles every year to not have to
scroll through git history to see how it's run.
---
 Makefile.PL | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 924e8dfd..613a72ae 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2013-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2013-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use ExtUtils::MakeMaker;
@@ -234,5 +234,11 @@ symlink-install :
 	for x in \$(EXE_FILES); do \\
 		ln -sf "\$\$lei" \$\$(basename "\$\$x"); \\
 	done
+
+update-copyrights :
+	\@case '\$(GNULIB_PATH)' in '') echo >&2 GNULIB_PATH unset; false;; esac
+	git ls-files | UPDATE_COPYRIGHT_HOLDER='all contributors' \\
+		UPDATE_COPYRIGHT_USE_INTERVALS=2 \\
+		xargs \$(GNULIB_PATH)/build-aux/update-copyright
 EOF
 }

^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-01-01  5:12  7% [PATCH] Makefile.PL: add update-copyrights target Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).