doc/emacs: require extracted docstrings for sphinx or info manual

We need to use the stamp file here in order not to depend on the order
the submakefiles are included.
This commit is contained in:
David Bremner 2018-06-13 21:32:40 -03:00
parent 0a9fc49b90
commit 0601d2337e

View file

@ -37,6 +37,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