]> git.notmuchmail.org Git - notmuch/blobdiff - completion/Makefile.local
configure: add options to disable emacs/zsh/bash and choose install dir.
[notmuch] / completion / Makefile.local
index 6a6012d442c89ecd2fce43ea8816bbe49103ee9d..0b74c06569202a9158d2a8455c71cd1909d48964 100644 (file)
@@ -12,7 +12,11 @@ install: install-$(dir)
 
 install-$(dir):
        @echo $@
+ifeq ($(WITH_BASH),1)
        mkdir -p $(DESTDIR)$(bash_completion_dir)
        install -m0644 $(bash_script) $(DESTDIR)$(bash_completion_dir)/notmuch
+endif
+ifeq ($(WITH_ZSH),1)
        mkdir -p $(DESTDIR)$(zsh_completion_dir)
        install -m0644 $(zsh_script) $(DESTDIR)$(zsh_completion_dir)/notmuch
+endif