This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /usr/bin/install doesn't install files from Makefile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]