unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: Emacs developers <Emacs-devel@gnu.org>
Subject: Re: The strange install command used by emacs.
Date: Fri, 18 Dec 2020 18:18:03 +0100	[thread overview]
Message-ID: <CAArVCkQgW835XFLNt_vD5KO5QYhRaoGewVArYohOmCnQHHOsLA@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POKqBp9tDuz49U77FfY+r+Urk-MJwagG+b1pDNgu=Z_eww@mail.gmail.com>

Am Fr., 18. Dez. 2020 um 05:58 Uhr schrieb Hongyi Zhao <hongyi.zhao@gmail.com>:
>
> On Ubuntu 20.10, when I compile the latest git master version of
> emacs, I noticed the following line near to the end of installation
> log:
>
> cd "/usr/local/bin" && ln -s "`echo emacs-28.0.50 | sed 's,x,x,'`"
> "`echo emacs | sed 's,x,x,'`"
>
> Apparently, it want to do the following job:
>
> ln -s /usr/local/bin/emacs-28.0.50 /usr/local/bin/emacs
>
> The confusing thing is that the pattern feed to sed, i.e., 's,x,x,',
> which in fact matches nothing for this case. So why it's useless at
> all. Any hints/notes/explanations would be appreciated.

This is likely to support the --program-prefix and --program-suffix
configure options. They can be used to append/prepend a string to the
Emacs binary filename (e.g. to distinguish multiple Emacsen installed
on the same system). By default both are empty, resulting in this
no-op.



      reply	other threads:[~2020-12-18 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18  4:57 The strange install command used by emacs Hongyi Zhao
2020-12-18 17:18 ` Philipp Stephani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkQgW835XFLNt_vD5KO5QYhRaoGewVArYohOmCnQHHOsLA@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=Emacs-devel@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).