notmuch.desktop: move under emacs as notmuch-emacs-mua.desktop

The notmuch.desktop file is part of notmuch-emacs. Move it under
emacs, and rename as notmuch-emacs-mua.desktop to reflect this.
This commit is contained in:
Jani Nikula 2016-11-21 23:13:38 +02:00 committed by David Bremner
parent 440d24e7cc
commit 66c1bff416
3 changed files with 6 additions and 5 deletions

View file

@ -274,11 +274,6 @@ ifeq ($(WITH_EMACS), 1)
endif endif
endif endif
.PHONY: install-desktop
install-desktop:
mkdir -p "$(DESTDIR)$(desktop_dir)"
desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" notmuch.desktop
SRCS := $(SRCS) $(notmuch_client_srcs) SRCS := $(SRCS) $(notmuch_client_srcs)
CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules)
CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp

View file

@ -39,6 +39,7 @@ all: $(dir)/notmuch-pkg.el
install-emacs: $(dir)/notmuch-pkg.el install-emacs: $(dir)/notmuch-pkg.el
emacs_mua := $(dir)/notmuch-emacs-mua emacs_mua := $(dir)/notmuch-emacs-mua
emacs_mua_desktop := $(dir)/notmuch-emacs-mua.desktop
emacs_images := \ emacs_images := \
$(srcdir)/$(dir)/notmuch-logo.png $(srcdir)/$(dir)/notmuch-logo.png
@ -106,4 +107,9 @@ endif
mkdir -p "$(DESTDIR)$(prefix)/bin/" mkdir -p "$(DESTDIR)$(prefix)/bin/"
install $(emacs_mua) "$(DESTDIR)$(prefix)/bin" install $(emacs_mua) "$(DESTDIR)$(prefix)/bin"
.PHONY: install-desktop
install-desktop:
mkdir -p "$(DESTDIR)$(desktop_dir)"
desktop-file-install --mode 0644 --dir "$(DESTDIR)$(desktop_dir)" $(emacs_mua_desktop)
CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el $(dir)/notmuch-pkg.el