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

Tomi Ollila tomi.ollila at iki.fi
Sun Jan 25 06:28:31 PST 2015


On Sun, Jan 25 2015, David Bremner <david at tethera.net> wrote:

> 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?

Sure looks simpler - I also couldn't figure out (just by quickly looking my
patch) how that exactly made things work...

This alternative fix is IMO good for the time being, and fixes a real
problem. I wonder whether gzipped user docs are created at build time but
gzipped apidocs just before install -- I might spare more time checking
that when on my regular linux desktop (these alternatives are just too PITA
to use ;) 

Tomi


>
>  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