[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request: add optional $DESTDIR support to install
From: |
Pádraig Brady |
Subject: |
Re: feature request: add optional $DESTDIR support to install |
Date: |
Thu, 2 Jul 2009 10:53:17 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Etienne Laurin wrote:
> Hello,
>
> By modifying install to support DESTDIR I was able to effortlessly
> create packages for many source distributions that do not support
> DESTDIR but use install.
>
> This patch adds the -P and --destdir options, which, if present,
> prefix their argument or the value of $DESTDIR to the destination.
But if you need to change the package to add the -P option,
you might as well make it support DESTDIR?
Using -P would make your package dependent on a new version
of coreutils and also would miss packages that use cp, ln etc.
> Please consider adding this functionality to install.
Something similar was discussed recently:
http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00047.html
cheers,
Pádraig.