X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=040e64d435724b450008260e9351e52b3551fdfe;hp=b118c67d3ef6c2c813c63fd303a6aa000013cc0d;hb=383796c325de2dbb32c5c02157777d2d06d39f0b;hpb=c970de6dc5378b05feb0b3da40f1fc3408f3d337 diff --git a/emacs/Makefile.local b/emacs/Makefile.local index b118c67d..040e64d4 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -106,10 +106,10 @@ endif install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)" mkdir -p "$(DESTDIR)$(prefix)/bin/" install $(emacs_mua) "$(DESTDIR)$(prefix)/bin" - -.PHONY: install-desktop -install-desktop: +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