mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
build: only try to build .rsti files if we have emacs and sphinx
Emacs is needed to build them, and sphinx is needed to use them
This commit is contained in:
parent
c07e0cf256
commit
e4a8d6e2a4
1 changed files with 5 additions and 0 deletions
|
@ -47,8 +47,13 @@ emacs_images := \
|
|||
emacs_bytecode = $(emacs_sources:.el=.elc)
|
||||
emacs_docstrings = $(emacs_sources:.el=.rsti)
|
||||
|
||||
ifneq ($(HAVE_SPHINX)$(HAVE_EMACS),11)
|
||||
docstring.stamp:
|
||||
@echo "Missing prerequisites, not collecting docstrings"
|
||||
else
|
||||
docstring.stamp: ${emacs_docstrings}
|
||||
touch $@
|
||||
endif
|
||||
|
||||
# Because of defmacro's and defsubst's, we have to account for load
|
||||
# dependencies between Elisp files when byte compiling. Otherwise,
|
||||
|
|
Loading…
Reference in a new issue