diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-29 09:45:39 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-04-29 15:30:27 -0400 |
commit | 0d353b06ec6571972d2e8a3e3a3f0b27aa950e1c (patch) | |
tree | 2b086ec976a4a36eb13c5216c2f2ccda38d90fc1 /m4 | |
parent | eaf79d319dd785b1d8b213ffa4dc6a3a338434e8 (diff) | |
download | guix-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