]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (install-etc): Don't prepend $(DESTDIR) to commands in
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 10 Dec 2016 20:13:06 +0000 (21:13 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 10 Dec 2016 20:14:18 +0000 (21:14 +0100)
system unit file.

Makefile.in

index 1d06d1748f71fc6d2de327340e18f9124ba4b749..2fead76c1cebd483027aea9cb9521f4db2a8c8f0 100644 (file)
@@ -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}