All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Baumann <waste.manager@gmx.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: David Kastrup <dak@gnu.org>, git@vger.kernel.org
Subject: Re: [PATCH] Makefile: create an install-symlinks target
Date: Wed, 18 Jul 2007 16:33:29 +0200	[thread overview]
Message-ID: <20070718143329.GD4815@xp.machine.xx> (raw)
In-Reply-To: <Pine.LNX.4.64.0707181344520.14781@racer.site>

On Wed, Jul 18, 2007 at 01:48:21PM +0100, Johannes Schindelin wrote:
> 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.
> 

Seeing this excellent explantion from Dscho, this sound exactly like a
perfect use case for xstow [1].

It allows you to install your application into e.g. /usr/local/stow/git
and by running 'xstow git' in /usr/local/stow it would create all the
necessary links in /usr/local/{bin,share,doc} or any other place you
want.

-Peter

[1]: http://xstow.sourceforge.net/

  reply	other threads:[~2007-07-18 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 10:41 [PATCH] Makefile: create an install-symlinks target David Kastrup
2007-07-18 12:41 ` David Kastrup
2007-07-18 12:48 ` Johannes Schindelin
2007-07-18 14:33   ` Peter Baumann [this message]
2007-07-18 13:08 ` Alex Riesen
2007-07-18 14:06   ` David Kastrup
2007-07-18 10:41     ` [PATCH 1/2] " David Kastrup
2007-07-18 14:45       ` [PATCH 2/2] Makefile: use $(FIND) instead of find David Kastrup
  -- strict thread matches above, loose matches on Subject: below --
2007-07-29 21:26 [PATCH] Makefile: create an install-symlinks target David Kastrup
2007-07-29 22:15 ` Junio C Hamano
2007-07-29 22:30   ` David Kastrup
2007-07-29 23:44     ` Brian Gernhardt
2007-07-29 22:26 ` Peter Baumann

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=20070718143329.GD4815@xp.machine.xx \
    --to=waste.manager@gmx.de \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=dak@gnu.org \
    --cc=git@vger.kernel.org \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.