summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Oliver <git@mavit.org.uk>2021-06-09 12:51:15 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-07-02 13:09:16 +0200
commit2aedf1c85c2108f89b3f0dfb5146cea911174747 (patch)
treefc89eb69faccf2631458c7491e62c4682f9b386e /Makefile.in
parentb1b05c828d67930bb3b897fe98e1992db42cf23c (diff)
downloademacs-2aedf1c85c2108f89b3f0dfb5146cea911174747.tar.gz
Install emacs-mail.desktop and emacsclient-mail.desktop
* Makefile.in (install-etc): Install emacs-mail.desktop and emacsclient-mail.desktop
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 8c14c5cc7db..97d954b6ce5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -742,6 +742,19 @@ install-etc:
${srcdir}/etc/emacsclient.desktop > $${tmp}; \
${INSTALL_DATA} $${tmp} "$(DESTDIR)${desktopdir}/$${client_name}.desktop"; \
rm -f $${tmp}
+ tmp=etc/emacs-mail.tmpdesktop; rm -f $${tmp}; \
+ sed -e "/^Exec=emacs/ s/emacs/${EMACS_NAME}/" \
+ -e "/^Icon=emacs/ s/emacs/${EMACS_NAME}/" \
+ ${srcdir}/etc/emacs-mail.desktop > $${tmp}; \
+ ${INSTALL_DATA} $${tmp} "$(DESTDIR)${desktopdir}/${EMACS_NAME}-mail.desktop"; \
+ rm -f $${tmp}
+ tmp=etc/emacsclient-mail.tmpdesktop; rm -f $${tmp}; \
+ client_name=`echo emacsclient | sed '$(TRANSFORM)'`${EXEEXT}; \
+ sed -e "/^Exec=emacsclient/ s|emacsclient|${bindir}/$${client_name}|" \
+ -e "/^Icon=emacs/ s/emacs/${EMACS_NAME}/" \
+ ${srcdir}/etc/emacsclient-mail.desktop > $${tmp}; \
+ ${INSTALL_DATA} $${tmp} "$(DESTDIR)${desktopdir}/$${client_name}-mail.desktop"; \
+ rm -f $${tmp}
umask 022; ${MKDIR_P} "$(DESTDIR)${metainfodir}"
tmp=etc/emacs.tmpmetainfo; rm -f $${tmp}; \
sed -e "s/emacs\.desktop/${EMACS_NAME}.desktop/" \