]> git.cworth.org Git - notmuch/blob - completion/Makefile.local
Tests for maildir synchronization
[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         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