From: David Bremner <david@tethera.net>
Date: Thu, 20 Dec 2018 08:30:11 +0000 (+0900)
Subject: doc: make man pages depend on emacs docstrings
X-Git-Tag: archive/debian/0.29_rc0-1~145
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e52535029b3976589e2817da515fd98120718947;p=notmuch-old

doc: make man pages depend on emacs docstrings

This is nonsensical on the face of it, but is needed (for now) because
the notmuch-emacs page is unconditionally included in index.rst.
---

diff --git a/doc/Makefile.local b/doc/Makefile.local
index eec9c228..f53b3702 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -38,7 +38,7 @@ INFO_INFO_FILES := $(INFO_TEXI_FILES:.texi=.info)
 	rm -f $@ && gzip --stdout $^ > $@
 
 ifeq ($(WITH_EMACS),1)
-sphinx-html sphinx-texinfo: docstring.stamp
+$(DOCBUILDDIR)/.roff.stamp sphinx-html sphinx-texinfo: docstring.stamp
 endif
 
 sphinx-html: