doc: gzipped notmuch.3 before trying to install notmuch.3.gz

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
This commit is contained in:
David Bremner 2015-01-25 15:04:51 +01:00
parent 8fb1cbc1c2
commit b9e7b8e8f0

View file

@ -60,7 +60,7 @@ install-man: install-apidocs
ifeq ($(HAVE_DOXYGEN),1) ifeq ($(HAVE_DOXYGEN),1)
MAN_GZIP_FILES += ${APIMAN}.gz MAN_GZIP_FILES += ${APIMAN}.gz
apidocs: $(APIMAN) apidocs: $(APIMAN)
install-apidocs: apidocs install-apidocs: ${APIMAN}.gz
mkdir -p "$(DESTDIR)$(mandir)/man3" mkdir -p "$(DESTDIR)$(mandir)/man3"
install -m0644 $(DOCBUILDDIR)/man/man3/*.3.gz $(DESTDIR)/$(mandir)/man3 install -m0644 $(DOCBUILDDIR)/man/man3/*.3.gz $(DESTDIR)/$(mandir)/man3