diff options
| author | Glenn Morris | 2021-04-04 17:11:47 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-04-04 17:11:47 -0700 |
| commit | a86edac26b6648c19cb8e278125978b31f3a093a (patch) | |
| tree | bcabb1c24795c9a4b05c7ae0a7da66e9d943be1d | |
| parent | 9cb3db0bade2ea43bad9cadc7864887c09bc7cd0 (diff) | |
| download | emacs-a86edac26b6648c19cb8e278125978b31f3a093a.tar.gz emacs-a86edac26b6648c19cb8e278125978b31f3a093a.zip | |
Regenerate texi-from-org if ox-texinfo.el changes
* doc/misc/Makefile.in (top_srcdir): New, set by configure.
(emacs): Set load-prefer-newer.
(org_template): Make output depend on ox-texinfo.el.
| -rw-r--r-- | doc/misc/Makefile.in | 6 |
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. |
| 24 | srcdir=@srcdir@ | 24 | srcdir=@srcdir@ |
| 25 | 25 | top_srcdir = @top_srcdir@ | |
| 26 | top_builddir = @top_builddir@ | 26 | top_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 | ||
| 236 | abs_top_builddir = @abs_top_builddir@ | 236 | abs_top_builddir = @abs_top_builddir@ |
| 237 | EMACS = ${abs_top_builddir}/src/emacs | 237 | EMACS = ${abs_top_builddir}/src/emacs |
| 238 | emacs = "${EMACS}" -batch --no-site-file --no-site-lisp | 238 | emacs = "${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. |
| 244 | define org_template | 244 | define 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 $$@) |
| 248 | endef | 248 | endef |