aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/misc/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 63d4bf0337f..ae960fe769d 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -22,7 +22,7 @@ SHELL = @SHELL@
22# Where to find the source code. $(srcdir) will be the doc/misc subdirectory 22# Where to find the source code. $(srcdir) will be the doc/misc subdirectory
23# of the source tree. This is set by configure's '--srcdir' option. 23# of the source tree. This is set by configure's '--srcdir' option.
24srcdir=@srcdir@ 24srcdir=@srcdir@
25 25top_srcdir = @top_srcdir@
26top_builddir = @top_builddir@ 26top_builddir = @top_builddir@
27 27
28## Where the output files go. 28## Where the output files go.
@@ -235,14 +235,14 @@ ${buildinfodir}/tramp.info tramp.html: ${srcdir}/trampver.texi
235 235
236abs_top_builddir = @abs_top_builddir@ 236abs_top_builddir = @abs_top_builddir@
237EMACS = ${abs_top_builddir}/src/emacs 237EMACS = ${abs_top_builddir}/src/emacs
238emacs = "${EMACS}" -batch --no-site-file --no-site-lisp 238emacs = "${EMACS}" -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'
239 239
240# Generated .texi files go in srcdir so they can be included in the 240# Generated .texi files go in srcdir so they can be included in the
241# release tarfile along with the others. 241# release tarfile along with the others.
242# Work in srcdir (and use abs_top_builddir) so that +setupfile and 242# Work in srcdir (and use abs_top_builddir) so that +setupfile and
243# things like org-setup's "version" macro work. Sigh. 243# things like org-setup's "version" macro work. Sigh.
244define org_template 244define org_template
245 $(1:.org=.texi): $(1) 245 $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el
246 $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ 246 $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \
247 -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) 247 -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@)
248endef 248endef