summaryrefslogtreecommitdiff
path: root/AllLangHelp_smath.mk
diff options
context:
space:
mode:
authorChristian Lohmaier <cloph@documentfoundation.org>2022-12-13 14:35:15 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-19 11:28:51 +0000
commit47d547be539ab2822babba4dc0fb230f971de450 (patch)
tree8f5bc5dc61696508519c51eb9ded757d2c660229 /AllLangHelp_smath.mk
parentdf678c89e22b980cac67717ed4b2a60754f2272d (diff)
hid2file.js generation: process in batch, not each file one-by-one
xsltproc can happily process many files at once, no need to process them individually and also no need to surround them with the rm, touch, rm triplet each time to catch a possible error. When letting xargs actually run the command, then xargs will report error if any invocation failed. It will not stop execution commands for remaining input unless the command exists with status 255 explicitly, but this doesn't matter, processing the whole batch regardless is still much faster than processing each file separately. To maximize the number of files that can be processed in a single command, don't prefix each file with $(SRCDIR)/, but instead cd to $(SRCRDIR) before running the command. Change-Id: I532a54f7298d7011900af5e618d75b37649b0477 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144050 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit f048f02f505704a76c4f01b4ff3f369e8ed928b5) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144065
Diffstat (limited to 'AllLangHelp_smath.mk')
0 files changed, 0 insertions, 0 deletions