summary refs log tree commit diff
path: root/m4
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-29 09:45:39 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-29 15:30:27 -0400
commit0d353b06ec6571972d2e8a3e3a3f0b27aa950e1c (patch)
tree2b086ec976a4a36eb13c5216c2f2ccda38d90fc1 /m4
parenteaf79d319dd785b1d8b213ffa4dc6a3a338434e8 (diff)
downloadguix-0d353b06ec6571972d2e8a3e3a3f0b27aa950e1c.tar.gz
build: Make doc-po-update and doc-pot-update targets idempotent. v1.3.0rc1
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.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions