- install -m0644 notmuch.el $(DESTDIR)$(prefix)/share/emacs/site-lisp/
- install notmuch-completion.bash \
- $(DESTDIR)/etc/bash_completion.d/notmuch
+
+install-emacs: install emacs
+ for d in $(DESTDIR)/$(emacs_lispdir) ; \
+ do \
+ install -d $$d ; \
+ done ;
+ install -m0644 notmuch.el $(DESTDIR)$(emacs_lispdir)
+ install -m0644 notmuch.elc $(DESTDIR)$(emacs_lispdir)
+
+install-bash:
+ install -d $(DESTDIR)$(bash_completion_dir)
+ install -m0644 contrib/notmuch-completion.bash \
+ $(DESTDIR)$(bash_completion_dir)/notmuch
+
+install-zsh:
+ install -d $(DESTDIR)$(zsh_completion_dir)
+ install -m0644 contrib/notmuch-completion.zsh \
+ $(DESTDIR)$(zsh_completion_dir)/notmuch