]> git.notmuchmail.org Git - notmuch/blobdiff - doc/Makefile.local
doc: make man pages depend on emacs docstrings
[notmuch] / doc / Makefile.local
index 16459e3544c2d7d668691ad89e3f20457dcf77b3..f53b3702fb9dc8ca175605ad64056520ffd680ff 100644 (file)
@@ -37,6 +37,10 @@ INFO_INFO_FILES := $(INFO_TEXI_FILES:.texi=.info)
 %.gz: %
        rm -f $@ && gzip --stdout $^ > $@
 
+ifeq ($(WITH_EMACS),1)
+$(DOCBUILDDIR)/.roff.stamp sphinx-html sphinx-texinfo: docstring.stamp
+endif
+
 sphinx-html:
        $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCBUILDDIR)/html