Is it possible to build `git` such that the install directory and the deployment prefix is not the same?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Git developers,

I've looked around the online forums and also asked this question on
Stackoverflow, but have not gotten an answer.

http://stackoverflow.com/questions/33901216/is-it-possible-to-build-git-such-that-the-install-directory-and-the-deployment

Here is the question, copied below for your convenience:

"""
I am attempting to build git from source, and I would like make
install to put the binaries into a directory called dist in my source
directory, so I use the following configure line.

./configure --prefix=`pwd`/dist

Unfortunately, this also causes the build output to assume that this
is the final install location for git, and therefore hardcode the path
into various scripts and binaries such as
libexec/git-core/git-difftool.

Is there a way to specify during either configure or make that I want
a different path for actual deployment, such as /usr/bin/local, but
still have make install go into the directory pwd/dist?
"""


Thanks,
~Henry
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]