mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Translations: Add custom .pot header with SPDX license identifier.
The same is used for both po/xz.pot and po4a/xz-man.pot.
This commit is contained in:
parent
469cd6653b
commit
a9f369dd54
3 changed files with 16 additions and 0 deletions
|
@ -50,6 +50,7 @@ uninstall-local:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
po/xz.pot-header \
|
||||||
po4a \
|
po4a \
|
||||||
extra \
|
extra \
|
||||||
doc/xz-logo.png \
|
doc/xz-logo.png \
|
||||||
|
|
7
po/xz.pot-header
Normal file
7
po/xz.pot-header
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# SPDX-License-Identifier: 0BSD
|
||||||
|
#
|
||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) The XZ Utils authors and contributors
|
||||||
|
# This file is distributed under the BSD Zero Clause License.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
|
@ -41,3 +41,11 @@ po4a --force --verbose \
|
||||||
--package-version="$PACKAGE_VERSION" \
|
--package-version="$PACKAGE_VERSION" \
|
||||||
--copyright-holder="The XZ Utils authors and contributors" \
|
--copyright-holder="The XZ Utils authors and contributors" \
|
||||||
po4a.conf
|
po4a.conf
|
||||||
|
|
||||||
|
# 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".
|
||||||
|
mv xz-man.pot xz-man.pot.tmp
|
||||||
|
cat ../po/xz.pot-header > xz-man.pot
|
||||||
|
sed '1,/^#$/d' xz-man.pot.tmp >> xz-man.pot
|
||||||
|
rm xz-man.pot.tmp
|
||||||
|
|
Loading…
Reference in a new issue