From 1ef33800df7b3eaac36c0c17881e2630f7bfc0be Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 9 Jan 2010 11:49:34 +1300 Subject: Install zsh completion file According to the Debian zsh maintainer Clint Adams, this is the first time that a package installs its own completer into zsh. Part of the reason this is not usually done is because zsh does not provide a stable API. We agreed to try it, given that notmuch is expected to change quite a bit initially. If there are problems or the completer goes stable, we'll move it into the upstream zsh repository. Signed-off-by: martin f. krafft --- Makefile.local | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.local') diff --git a/Makefile.local b/Makefile.local index 933ff4c7..d579242c 100644 --- a/Makefile.local +++ b/Makefile.local @@ -48,5 +48,10 @@ install-bash: install -m0644 contrib/notmuch-completion.bash \ $(DESTDIR)$(bash_completion_dir)/notmuch +install-zsh: + install -d $(DESTDIR)$(zsh_completion_dir) + install -m0644 contrib/notmuch-completion.zsh \ + $(DESTDIR)$(zsh_completion_dir)/notmuch + SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch $(notmuch_client_modules) notmuch.elc notmuch.1.gz -- cgit v1.2.3