doc: gzipped notmuch.3 before trying to install notmuch.3.gz
authorDavid Bremner <david@tethera.net>
Sun, 25 Jan 2015 14:04:51 +0000 (15:04 +0100)
committerDavid Bremner <david@tethera.net>
Sun, 25 Jan 2015 14:04:51 +0000 (15:04 +0100)
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

index 0bdf2e12fc0feeb5b80916cebbd0346db71e37d9..e209749176243adf0142a8fa8ca27849838958d6 100644 (file)
@@ -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