5 # The dir variable will be re-assigned to later, so we can't use it
6 # directly in any shell commands. Instead we save its value in other,
7 # private variables that we can use in the commands.
8 bash_script := $(srcdir)/$(dir)/notmuch-completion.bash
9 zsh_script := $(srcdir)/$(dir)/notmuch-completion.zsh
11 install: install-$(dir)
16 mkdir -p "$(DESTDIR)$(bash_completion_dir)"
17 install -m0644 $(bash_script) "$(DESTDIR)$(bash_completion_dir)/notmuch"
20 mkdir -p "$(DESTDIR)$(zsh_completion_dir)"
21 install -m0644 $(zsh_script) "$(DESTDIR)$(zsh_completion_dir)/_notmuch"