gnu: straw-viewer: Deprecate package.
[jackhill/guix/guix.git] / po / doc / local.mk
CommitLineData
b9fe8fd6
JL
1# GNU Guix --- Functional package management for GNU
2# Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
0d353b06 3# Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
b9fe8fd6
JL
4#
5# This file is part of GNU Guix.
6#
7# GNU Guix is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3 of the License, or (at
10# your option) any later version.
11#
12# GNU Guix is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
0d353b06 20DOC_PO_FILES = \
de712e52
LC
21 %D%/guix-manual.es.po \
22 %D%/guix-manual.de.po \
43fb84da 23 %D%/guix-manual.fa.po \
de712e52 24 %D%/guix-manual.fr.po \
d2d6c20f 25 %D%/guix-manual.it.po \
0f355124 26 %D%/guix-manual.ko.po \
c3eaff8a 27 %D%/guix-manual.pt_BR.po \
3bac7e64 28 %D%/guix-manual.ru.po \
77c6c0aa 29 %D%/guix-manual.sk.po \
1eb26d0e 30 %D%/guix-manual.zh_CN.po
b9fe8fd6 31
0d353b06
MC
32DOC_COOKBOOK_PO_FILES = \
33 %D%/guix-cookbook.de.po \
34 %D%/guix-cookbook.fa.po \
35 %D%/guix-cookbook.fr.po \
36 %D%/guix-cookbook.ko.po \
1eb26d0e 37 %D%/guix-cookbook.zh_Hans.po
7bc46ecc 38
7565d40e
JL
39EXTRA_DIST = \
40 %D%/guix-manual.pot \
7bc46ecc
RW
41 %D%/guix-cookbook.pot \
42 $(DOC_PO_FILES) \
43 $(DOC_COOKBOOK_PO_FILES)
7565d40e 44
0d353b06
MC
45POT_OPTIONS = \
46 --package-name "guix manual" --package-version "$(VERSION)" \
47 --copyright-holder "the authors of Guix (msgids)" \
48 --msgid-bugs-address "bug-guix@gnu.org"
b9fe8fd6 49
0d353b06 50%D%/%.pot: $(srcdir)/doc/%.texi
b9fe8fd6 51 $(AM_V_PO4A)$(PO4A_UPDATEPO) -M UTF-8 -f texinfo -m "$<" \
0d353b06
MC
52 -p "$@" $(POT_OPTIONS) && \
53 touch $@
7565d40e 54
0d353b06 55%D%/guix-manual.pot: %D%/guix.pot %D%/contributing.pot
0084f005 56 msgcat $^ > $@
7bc46ecc 57
0d353b06 58doc-pot-update: %D%/guix-manual.pot %D%/guix-cookbook.pot
f13049f3 59.PHONY: doc-pot-update