This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /usr/bin/install doesn't install files from Makefile
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Marco Atzeri <marco dot atzeri at gmail dot com>, cygwin at cygwin dot com
- Date: Tue, 23 Sep 2014 19:37:35 +0400
- Subject: Re: /usr/bin/install doesn't install files from Makefile
- Authentication-results: sourceware.org; auth=none
- References: <5415790E dot 8030209 at gmx dot net> <CAEhDDbCDi5Vu8=agC_zCfbd6tki5V3PBQGKL6ZtgdmdPPRWrew at mail dot gmail dot com> <54181257 dot 5050500 at gmx dot net> <CAEhDDbA9u9Atb2qf3LJW8or2SHDDwPHYS4ST3DecjF=udqsdng at mail dot gmail dot com> <54194CCA dot 9070101 at gmx dot net> <54195F78 dot 5010701 at gmail dot com> <54209126 dot 9030706 at gmx dot net> <54217F97 dot 4000902 at gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Marco Atzeri!
> why strange ?
> the final installation dir is ${DESTDIR}${PREFIX}
> for if you put
> DESTDIR="/tmp"
> --prefix=$HOME/curl
> the result will be in /tmp$HOME/curl alias /tmp/home/mosipov/curl
> On asciidoc there is a mistake and the final dir is
> ${DESTDIR}/${PREFIX}
It is still the case after nearly five years? O.o
I just digged a mail in my archives that point to the same issue.
> so if you define only
> --prefix=$HOME/curl
> and not DESTDIR
> the final dir should be /$HOME/curl alias //home/mosipov/asciidoc
> and cygwin rejects the leading "//" as they have a special meaning.
> https://cygwin.com/cygwin-ug-net/using.html#unc-paths
> In that case the trick is
> DESTDIR="/"
> --prefix=$HOME/asciidoc
> the result will be in ///$HOME/asciidoc
> alias ///home/mosipov/asciidoc
> alias /home/mosipov/asciidoc
--
WBR,
Andrey Repin, 23.09.2014 19:20
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple