notmuch.desktop: move under emacs as notmuch-emacs-mua.desktop
authorJani Nikula <jani@nikula.org>
Mon, 21 Nov 2016 21:13:38 +0000 (23:13 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 26 Nov 2016 12:16:39 +0000 (08:16 -0400)
The notmuch.desktop file is part of notmuch-emacs. Move it under
emacs, and rename as notmuch-emacs-mua.desktop to reflect this.

Makefile.local
emacs/Makefile.local
emacs/notmuch-emacs-mua.desktop [moved from notmuch.desktop with 100% similarity]

index 222082359ba1d3256cf2681ca3450769f3ffd418..3548ed9665c974f236b7a01469da46bb15026641 100644 (file)
@@ -274,11 +274,6 @@ ifeq ($(WITH_EMACS), 1)
 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)
 CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules)
 CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp
index 6408c02cc93656def66716f1741cab1e6074f521..b118c67d3ef6c2c813c63fd303a6aa000013cc0d 100644 (file)
@@ -39,6 +39,7 @@ all: $(dir)/notmuch-pkg.el
 install-emacs: $(dir)/notmuch-pkg.el
 
 emacs_mua := $(dir)/notmuch-emacs-mua
+emacs_mua_desktop := $(dir)/notmuch-emacs-mua.desktop
 
 emacs_images := \
        $(srcdir)/$(dir)/notmuch-logo.png
@@ -106,4 +107,9 @@ endif
        mkdir -p "$(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