[PATCH 06/11] doc/emacs: require extracted docstrings for sphinx or info manual

David Bremner david at tethera.net
Wed Jun 13 17:32:40 PDT 2018


We need to use the stamp file here in order not to depend on the order
the submakefiles are included.
---
 doc/Makefile.local | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index 69853454..604de767 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -41,6 +41,10 @@ INFO_INFO_FILES := $(INFO_TEXI_FILES:.texi=.info)
 %.gz: %
 	rm -f $@ && gzip --stdout $^ > $@
 
+ifeq ($(WITH_EMACS),1)
+sphinx-html sphinx-texinfo: docstring.stamp
+endif
+
 sphinx-html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCBUILDDIR)/html
 
-- 
2.17.1



More information about the notmuch mailing list