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 ab51e8ee61)
This commit is contained in:
Lasse Collin 2024-05-07 15:05:21 +03:00
parent 1b4e7dca24
commit 07a9cda037
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ po4a --force --verbose \
--copyright-holder="The XZ Utils authors and contributors" \ --copyright-holder="The XZ Utils authors and contributors" \
po4a.conf 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 # Add the customized POT header which contains the SPDX license
# identifier and spells out the license name instead of saying # identifier and spells out the license name instead of saying
# "the same license as the XZ Utils package". # "the same license as the XZ Utils package".