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 := $(dir)/notmuch-completion.bash
9 zsh_script := $(dir)/notmuch-completion.zsh
11 install: install-$(dir)
15 mkdir -p $(DESTDIR)$(bash_completion_dir)
16 install -m0644 $(bash_script) $(DESTDIR)$(bash_completion_dir)/notmuch
17 mkdir -p $(DESTDIR)$(zsh_completion_dir)
18 install -m0644 $(zsh_script) $(DESTDIR)$(zsh_completion_dir)/notmuch