public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: Gianpaolo Macario <gianpaolo_macario@mentor•com>
Cc: git@vger•kernel.org
Subject: Re: Installing git binaries on a non-default directory (Ubuntu)
Date: Sun, 12 Apr 2015 23:05:36 -0700	[thread overview]
Message-ID: <xmqq7ftg4l73.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <loom.20150410T183218-536@post.gmane.org> (Gianpaolo Macario's message of "Fri, 10 Apr 2015 16:34:26 +0000 (UTC)")

Gianpaolo Macario <gianpaolo_macario@mentor•com> writes:

> By some googling and after reading the git sources and the commit logs I 
> assumed that the `RUNTIME_PREFIX` option
> (see <https://github.com/git/git/blob/master/exec_cmd.c>) was designed for 
> that purpose,

I do not think so.

The standard procedure to stage into a temporary with "make install"
and then make a tarball is done by using DESTDIR, e.g. something
like

  $ make DESTDIR=/var/tmp/gittt ...other args... install
  $ tar zCf /var/tmp/gittt git-version.tar.gz

  reply	other threads:[~2015-04-13  6:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 16:34 Installing git binaries on a non-default directory (Ubuntu) Gianpaolo Macario
2015-04-13  6:05 ` Junio C Hamano [this message]
2015-04-13 11:10   ` Macario, Gianpaolo
2015-04-23 20:17     ` Jeff King

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

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

  git send-email \
    --in-reply-to=xmqq7ftg4l73.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox$(echo .)com \
    --cc=gianpaolo_macario@mentor$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox