X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=completion%2FMakefile.local;h=0b74c06569202a9158d2a8455c71cd1909d48964;hp=6a6012d442c89ecd2fce43ea8816bbe49103ee9d;hb=26b4cc4aad93e25dab1e1f38f19f1ae69cde389c;hpb=90a505373ef5a8135357f2da3cdf6837e32c3a7a diff --git a/completion/Makefile.local b/completion/Makefile.local index 6a6012d4..0b74c065 100644 --- a/completion/Makefile.local +++ b/completion/Makefile.local @@ -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