Re: [PATCH] Makefile: create an install-symlinks target
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 18, 2007, 12:48 UTC
- Message-ID
- <Pine.LNX.4.64.0707181344520.14781@racer.site>
- In-Reply-To
- <86bqe9lwy8.fsf@lola.quinscape.zz>
Hi,
On Wed, 18 Jul 2007, David Kastrup wrote:
> Use this, for example, to do > rm -rf /opt/git > make prefix=/opt/git install > make symlinkprefix=/usr/local prefix=/opt/git install-symlinks
You mean
This target allows you to have git installed in one location, and have symbolic links to all of the programs installed in another location. For example, if git was installed to /opt/git with
make prefix=/opt/git install
you can install symbolic links in /usr/local/bin with
make symlinkprefix=/usr/local prefix=/opt/git \ install-symlinks
Hmm. Why not install it with a proper package manager in the correct place to begin with? Somehow I find so many symbolic links ugly.
Ciao, Dscho