X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;fp=emacs%2FMakefile.local;h=40b7c14fff280e84bcaae09fd706aab4afa6ba6d;hp=04913a06bf61387204d8bbd00feb88ddd25fa072;hb=e4a8d6e2a4355f54cb73d3b27afb0ce19ce7eb0d;hpb=c07e0cf256a072926c93f07d6f551b73d5143c2b diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 04913a06..40b7c14f 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -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,