]> git.notmuchmail.org Git - notmuch/blobdiff - doc/Makefile.local
doc: fix for out-of-tree builds of notmuch-emacs docs
[notmuch] / doc / Makefile.local
index b4e0c9558101a81bcc0fb65b201b42f6c1e7c850..769438ed24756962d34d8b99348df1e0b2d93eac 100644 (file)
@@ -4,7 +4,7 @@ dir := doc
 
 # You can set these variables from the command line.
 SPHINXOPTS    := -q
-SPHINXBUILD   = WITH_EMACS=${WITH_EMACS} sphinx-build
+SPHINXBUILD   = WITH_EMACS=${WITH_EMACS} RSTI_DIR=$(realpath emacs) sphinx-build
 DOCBUILDDIR      := $(dir)/_build
 
 # Internal variables.