]> git.cworth.org Git - notmuch/blob - completion/Makefile.local
configure: Drop global setting of IFS (without space in it).
[notmuch] / completion / Makefile.local
1 # -*- makefile -*-
2
3 dir := completion
4
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
10
11 install: install-$(dir)
12
13 install-$(dir):
14         @echo $@
15 ifeq ($(WITH_BASH),1)
16         mkdir -p $(DESTDIR)$(bash_completion_dir)
17         install -m0644 $(bash_script) $(DESTDIR)$(bash_completion_dir)/notmuch
18 endif
19 ifeq ($(WITH_ZSH),1)
20         mkdir -p $(DESTDIR)$(zsh_completion_dir)
21         install -m0644 $(zsh_script) $(DESTDIR)$(zsh_completion_dir)/_notmuch
22 endif