From: Junio C Hamano Date: Mon, 13 Apr 2015 06:05:36 GMT Subject: Re: Installing git binaries on a non-default directory (Ubuntu) Message-ID: In-Reply-To: Gianpaolo Macario writes: > By some googling and after reading the git sources and the commit logs I > assumed that the `RUNTIME_PREFIX` option > (see ) 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