From b3cbcebd9aae16e018e167233cf0c39bfac31198 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 16 Jun 2022 11:06:29 +0300 Subject: [PATCH] Speed up Org to Texinfo generation * doc/misc/Makefile.in ($(1:.org=.texi)): Use a higher GC threshold, to speed up .org=.texi conversion. Patch by Ihor Radchenko . --- doc/misc/Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index d9c5173c072..1d881a5fc7f 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -248,6 +248,7 @@ emacs = "${EMACS}" -batch --no-site-file --no-site-lisp --eval '(setq load-prefe define org_template $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ + --eval '(setq gc-cons-threshold 50000000)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef -- 2.39.2