unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] Makefile.PL: add update-copyrights target
@ 2021-01-01  5:12 Eric Wong
  2021-01-01  5:18 ` [PUSHED] update copyrights for 2021 Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
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	[flat|nested] 2+ messages in thread

* [PUSHED] update copyrights for 2021
  2021-01-01  5:12 [PATCH] Makefile.PL: add update-copyrights target Eric Wong
@ 2021-01-01  5:18 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2021-01-01  5:18 UTC (permalink / raw)
  To: meta

commit af0b0fb7a454470a32c452119d0392e0dedb3fe1

    update copyrights for 2021
    
    Using "make update-copyrights" after setting GNULIB_PATH in my
    config.mak

Full-diff here (yes, I keep meaning to make "/s/" better for non-blobs,
I think lei can help with experiments there)
https://public-inbox.org/meta/af0b0fb7a454470a32c452119d0392e0dedb3fe1/s/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-01  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-01  5:12 [PATCH] Makefile.PL: add update-copyrights target Eric Wong
2021-01-01  5:18 ` [PUSHED] update copyrights for 2021 Eric Wong

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).