From 07a9cda037042b262ba6c8c18fae4a5b3333d508 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 7 May 2024 15:05:21 +0300 Subject: [PATCH] po4a/update-po: Delete the *.po.authors files These are temporary files that are needed only when running po4a. The top-level Makefile.am puts the whole po4a directory into distribution tarball (it's simpler) so deleting these temporary files is needed to prevent them from getting into tarballs. (cherry picked from commit ab51e8ee610e2a893906859848f93d5cb0d5ba83) --- po4a/update-po | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/po4a/update-po b/po4a/update-po index d886ad0d..71f3e47a 100755 --- a/po4a/update-po +++ b/po4a/update-po @@ -61,6 +61,10 @@ po4a --force --verbose \ --copyright-holder="The XZ Utils authors and contributors" \ po4a.conf +# Remove the *.po.authors files that were generated above. +# This way they won't get included in distribution tarballs. +rm -f *.po.authors + # Add the customized POT header which contains the SPDX license # identifier and spells out the license name instead of saying # "the same license as the XZ Utils package".