guix/po/doc
Maxim Cournoyer 0d353b06ec
build: Make doc-po-update and doc-pot-update targets idempotent.
It used to be that the running the doc-po-update and doc-pot-update targets
would redo the same work on every run.  This change splits the problem in
smaller chunks and specifies build dependencies in a way that outputs only get
rebuilt when their inputs changed.

* po/doc/local.mk (DOC_PO_FILES): Harmonize escapes.
(POT_OPTIONS): Re-indent uniformly.
(doc-po-update-%, doc-po-update-cookbook-%): Re-implement with...
(make-update-po-files-rule): ... this new function.
(TMP_POT_FILES): Remove variable.
(%D%/%.pot, %D%/guix-manual.pot): New pattern rules.
(doc-pot-update, doc-po-update): Adjust prerequisites accordingly.
2021-04-29 15:30:27 -04:00
..
guix-cookbook.de.po nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
guix-cookbook.fa.po nls: Add Persian translation. 2021-04-18 13:18:17 +02:00
guix-cookbook.fr.po
guix-cookbook.ko.po nls: Add Korean translation. 2021-04-18 13:18:22 +02:00
guix-cookbook.zh_Hans.po nls: Add Chinese (Traditional) translation. 2021-04-18 13:18:29 +02:00
guix-manual.de.po nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
guix-manual.es.po nls: Update 'es' translations. 2021-04-18 13:17:40 +02:00
guix-manual.fa.po nls: Add Persian translation. 2021-04-18 13:18:17 +02:00
guix-manual.fr.po nls: Update 'fr' translations. 2021-04-18 13:17:35 +02:00
guix-manual.it.po nls: Add Italian translation. 2021-04-18 13:18:20 +02:00
guix-manual.ko.po nls: Add Korean translation. 2021-04-18 13:18:22 +02:00
guix-manual.pt_BR.po nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
guix-manual.ru.po nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
guix-manual.sk.po nls: Add Slovak translation. 2021-04-18 13:18:13 +02:00
guix-manual.zh_CN.po nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
local.mk build: Make doc-po-update and doc-pot-update targets idempotent. 2021-04-29 15:30:27 -04:00