[PATCH] Fix Makefile.local for install notmuch zsh completions
Chris Coutinho
chrisbcoutinho at gmail.com
Sun Sep 16 04:26:51 PDT 2018
Thanks for the patch Vincent!
The Makefile.local should also be updated to successfully install
notmuch using this patch.
Regards,
Chris
---
completion/Makefile.local | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/completion/Makefile.local b/completion/Makefile.local
index dfc12713..74c89760 100644
--- a/completion/Makefile.local
+++ b/completion/Makefile.local
@@ -6,7 +6,8 @@ dir := completion
# directly in any shell commands. Instead we save its value in other,
# private variables that we can use in the commands.
bash_script := $(srcdir)/$(dir)/notmuch-completion.bash
-zsh_script := $(srcdir)/$(dir)/notmuch-completion.zsh
+zsh_script1 := $(srcdir)/$(dir)/zsh/_notmuch
+zsh_script2 := $(srcdir)/$(dir)/zsh/_email-notmuch
install: install-$(dir)
@@ -18,5 +19,6 @@ ifeq ($(WITH_BASH),1)
endif
ifeq ($(WITH_ZSH),1)
mkdir -p "$(DESTDIR)$(zsh_completion_dir)"
- install -m0644 $(zsh_script) "$(DESTDIR)$(zsh_completion_dir)/_notmuch"
+ install -m0644 $(zsh_script1) "$(DESTDIR)$(zsh_completion_dir)/_notmuch"
+ install -m0644 $(zsh_script2) "$(DESTDIR)$(zsh_completion_dir)/_email-notmuch"
endif
--
2.18.0
More information about the notmuch
mailing list