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

Andrey Repin anrdaemon@yandex.ru
Tue Sep 23 16:05:00 GMT 2014


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



More information about the Cygwin mailing list