summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2021-02-26 19:28:43 -0800
committerGlenn Morris <rgm@gnu.org>2021-02-26 19:36:09 -0800
commitfddd63f8b854f6bfa91403f69ba694ccb54197bc (patch)
tree93352dd94e714f4f84c57cd9e6ecc9f53d7b6922 /Makefile.in
parent3984044ad3f481b0c67e906a405176ae276dd44d (diff)
downloademacs-fddd63f8b854f6bfa91403f69ba694ccb54197bc.tar.gz
Distribute the real source for some doc/misc manuals (bug#45143)
* doc/misc/modus-themes.texi, doc/misc/org.texi: Remove generated files from repository. * doc/misc/Makefile.in: Add rules for building .texi from .org. (ORG_SRC, abs_top_builddir, EMACS, emacs): New variables. (org_template): New template. (orgclean): New phony target. * Makefile.in (info): Depend on lisp. * lisp/org/ox-texinfo.el (org-texinfo-export-to-texinfo-batch): New function. * doc/misc/org.org, doc/misc/org-setup.org: New files. Import from https://code.orgmode.org d8e8a97a14.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 20683622991..e11b07280ce 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -982,6 +982,8 @@ INFOS = lispref-info lispintro-info emacs-info misc-info
PDFS = lispref-pdf lispintro-pdf emacs-pdf misc-pdf
PSS = lispref-ps lispintro-ps emacs-ps misc-ps
+## FIXME all of the misc- targets should really depend on lisp,
+## like the info target.
DOCS = $(DVIS) $(HTMLS) $(INFOS) $(PDFS) $(PSS)
$(DOCS):
$(MAKE) -C doc/$(subst -, ,$@)
@@ -1084,7 +1086,14 @@ uninstall-ps: $(UNINSTALL_PS)
# would require changing every rule in doc/ that builds an info file,
# and it's not worth it. This case is only relevant if you download a
# release, then change the .texi files.
-info:
+
+# The dependency is due to those doc/misc/ manuals that use .org sources.
+# I would have preferred to just add this to the misc-info target,
+# but that gave parallel build errors.
+# Depending on src is sufficient, but ends up being slow, since the
+# uncompiled lisp/org/*.el files are used to build the .texi files
+# (which is slow even with the elc files).
+info: lisp
ifneq ($(HAVE_MAKEINFO),no)
$(MAKE) info-real info-dir
endif