public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Marco Atzeri <marco.atzeri@gmail.com>, cygwin@cygwin.com
Subject: Re: /usr/bin/install doesn't install files from Makefile
Date: Tue, 23 Sep 2014 16:05:00 -0000	[thread overview]
Message-ID: <546091012.20140923193735@mtu-net.ru> (raw)
In-Reply-To: <54217F97.4000902@gmail.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

  reply	other threads:[~2014-09-23 15:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-14 13:38 Michael Osipov
2014-09-14 14:35 ` Marco Atzeri
2014-09-15 14:36 ` Csaba Raduly
2014-09-16 14:17   ` Michael Osipov
2014-09-16 20:32     ` Csaba Raduly
2014-09-17  9:02       ` Michael Osipov
2014-09-17 11:21         ` Marco Atzeri
2014-09-17 23:03           ` Michael Osipov
2014-09-22 23:49           ` Michael Osipov
2014-09-23 14:27             ` Marco Atzeri
2014-09-23 16:05               ` Andrey Repin [this message]
2014-09-25 20:37               ` Michael Osipov
2014-09-14 19:16 Michael Osipov
2014-09-14 22:29 ` Marco Atzeri
2014-09-15 10:06   ` Michael Osipov

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=546091012.20140923193735@mtu-net.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=marco.atzeri@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).