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 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch