X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2FMakefile.local;h=5e4ae1bda257f61cac0f296ee5a9ff2bec80f4f9;hb=93bd675c2a900b234536c5beaf0f7749e8fbe872;hp=90a57cca74ed40e1f56d0b962531a6048b5c64cb;hpb=518843747835903b77889da30ce8c4518a5c0574;p=notmuch diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 90a57cca..5e4ae1bd 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -24,6 +24,8 @@ emacs_sources := \ $(dir)/notmuch-company.el \ $(dir)/notmuch-draft.el +elpa_sources := ${emacs_sources} $(dir)/notmuch-pkg.el + $(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp $(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl @sed -e 's/%AG%/Generated file (from $( $(DESTDIR)$(prefix)/bin/notmuch-emacs-mua + chmod 755 $(DESTDIR)$(prefix)/bin/notmuch-emacs-mua +endif +ifeq ($(WITH_DESKTOP),1) + mkdir -p "$(DESTDIR)$(desktop_dir)" + desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop) + -update-desktop-database "$(DESTDIR)$(desktop_dir)" +endif CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el