-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-desktop:
+ install -d $(DESTDIR)$(desktop_dir)
+ desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop