X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=2cfa77ffd0dddf98ccdca1319c346fc01a472994;hp=b118c67d3ef6c2c813c63fd303a6aa000013cc0d;hb=459989b7efb109e31930da5db0112854fa6e03da;hpb=c970de6dc5378b05feb0b3da40f1fc3408f3d337 diff --git a/emacs/Makefile.local b/emacs/Makefile.local index b118c67d..2cfa77ff 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -106,10 +106,9 @@ 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) +endif CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el