]> git.notmuchmail.org Git - notmuch/commit - doc/Makefile.local
doc: Don't install emacs docs when they are not built
authorDavid Bremner <david@tethera.net>
Mon, 10 Jun 2019 10:11:50 +0000 (07:11 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 11 Jun 2019 00:48:03 +0000 (21:48 -0300)
commit3ec47e1165064d4937044c02e882612a3e3a7671
treeadda72180aac227c048fb57ce99f8715f808bc47
parent71bf459596c72cf72b89c6ae2f47b1f5cf7548db
doc: Don't install emacs docs when they are not built

In 40b025 we stopped building the notmuch-emacs documentation if
HAVE_EMACS=0 (i.e. no emacs was detected by configure). Unfortunately
we continued to try to install the (non-existent) documentation, which
causes build/install failures.

As a bonus, we also avoid installing the documentation if the user
configures --without-emacs.

Thanks to Ralph Seichter for reporting the problem, and testing
previous versions of this fix.
doc/Makefile.local