From 35ea5266bf71747c3ebec638fd53e23a2522908e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 1 Jan 2021 05:10:57 +0000 Subject: Makefile.PL: add update-copyrights target 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(-) (limited to 'Makefile.PL') 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 +# Copyright (C) 2013-2021 all contributors # License: AGPL-3.0+ 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 } -- cgit v1.2.3-24-ge0c7