[PATCH] doc: gzipped notmuch.3 before trying to install notmuch.3.gz

David Bremner david at tethera.net
Sun Jan 25 06:07:38 PST 2015


If HAVE_SPHINX=0 but HAVE_DOXYGEN=1, then the previous version was
trying to install notmuch.3.gz but only got as far as creating
notmuch.3
---

doc/Makefile.local is messy enough that I found Tomi's fix hard to
follow. Probably the real answer is to fix some of this mess, but in the mean time, what about this as an alternative fix?

 doc/Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index 0bdf2e1..e209749 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -60,7 +60,7 @@ install-man: install-apidocs
 ifeq ($(HAVE_DOXYGEN),1)
 MAN_GZIP_FILES += ${APIMAN}.gz
 apidocs: $(APIMAN)
-install-apidocs: apidocs
+install-apidocs: ${APIMAN}.gz
 	mkdir -p "$(DESTDIR)$(mandir)/man3"
 	install -m0644  $(DOCBUILDDIR)/man/man3/*.3.gz  $(DESTDIR)/$(mandir)/man3
 
-- 
2.1.4



More information about the notmuch mailing list