From 5fefaad5b1c3ca4d10d3208e782596d79de8ca18 Mon Sep 17 00:00:00 2001 Message-ID: <5fefaad5b1c3ca4d10d3208e782596d79de8ca18.1718358372.git.yantar92@posteo.net> From: Ihor Radchenko Date: Fri, 14 Jun 2024 11:45:00 +0200 Subject: [PATCH] Do not search local id: db when building Org mode manual * doc/misc/Makefile.in ($(1:.org=.texi)): Disable global id: database when building Org manual. This prevents the build from reaching out to local ID db on the build machine. Reported-by: Eli Zaretskii Link: https://yhetil.org/emacs-devel/868qzd9hjg.fsf@gnu.org/ --- doc/misc/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index b26d3525a22..f1d03ff4b39 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -246,11 +246,14 @@ emacs = # release tarfile along with the others. # Work in srcdir (and use abs_top_builddir) so that +setupfile and # things like org-setup's "version" macro work. Sigh. +# Also, disable `org-id-track-globally' to make sure that link/target +# resolution never ever tries to reach local user id: database. 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)' \ --eval '(setq org-confirm-babel-evaluate nil)' \ + --eval '(setq org-id-track-globally nil)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef -- 2.45.1