From: Andreas Schwab Date: Sat, 10 Dec 2016 20:13:06 +0000 (+0100) Subject: * Makefile.in (install-etc): Don't prepend $(DESTDIR) to commands in X-Git-Tag: emacs-26.0.90~1141 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2335b9100b47074a37079fb2c3608505eeac96b7;p=emacs.git * Makefile.in (install-etc): Don't prepend $(DESTDIR) to commands in system unit file. --- diff --git a/Makefile.in b/Makefile.in index 1d06d1748f7..2fead76c1ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -735,8 +735,8 @@ install-etc: client_name=`echo emacsclient | sed '$(TRANSFORM)'`${EXEEXT}; \ sed -e '/^##/d' \ -e "/^Documentation/ s/emacs(1)/$${emacs_name}(1)/" \ - -e "/^ExecStart/ s|emacs|$(DESTDIR)${bindir}/$${exe_name}|" \ - -e "/^ExecStop/ s|emacsclient|$(DESTDIR)${bindir}/$${client_name}|" \ + -e "/^ExecStart/ s|emacs|${bindir}/$${exe_name}|" \ + -e "/^ExecStop/ s|emacsclient|${bindir}/$${client_name}|" \ ${srcdir}/etc/emacs.service > $${tmp}; \ $(INSTALL_DATA) $${tmp} "$(DESTDIR)$(systemdunitdir)/${EMACS_NAME}.service"; \ rm -f $${tmp}