X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=KFoJzkhfilQIdbJg
	IvMj5BiIEOGcQkynOxb8+b0H0pgWzkkzybTWPN8e33ckBbYaw9RjeydWp7TXSZL6
	R3PpJWYQ+xJr2rfGgE8OyWmOnjBZaMRMjgr2UQuCSuWGVEwxi4rY95FeHOwfqBzo
	LKWiT5R9KnouNB1ND7pJsRowvEg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=ca8/1gqE3HYPxIzg74sL8Y
	oncqU=; b=pBh/G2Tw+/uKgHYXAOHOtaU5H++2tf4QCL5B23W5fXhUqBArFLIkdb
	ImxNbxr0XoVbSijbWt8x5beD8V8k4PWA0rDLTXV7EvT+QvbKbqOJ6Gt4/3QUroU9
	HJbIwp18XJ/nsmB9RZSr5s5PCkN5apJ+R0KPR0kf3g9M6rnYKKeo0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 23 Sep 2014 19:37:35 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <546091012.20140923193735@mtu-net.ru>
To: Marco Atzeri <marco.atzeri@gmail.com>, cygwin@cygwin.com
Subject: Re: /usr/bin/install doesn't install files from Makefile
In-Reply-To: <54217F97.4000902@gmail.com>
References: <5415790E.8030209@gmx.net>   <CAEhDDbCDi5Vu8=agC_zCfbd6tki5V3PBQGKL6ZtgdmdPPRWrew@mail.gmail.com>  <54181257.5050500@gmx.net>  <CAEhDDbA9u9Atb2qf3LJW8or2SHDDwPHYS4ST3DecjF=udqsdng@mail.gmail.com>  <54194CCA.9070101@gmx.net> <54195F78.5010701@gmail.com>  <54209126.9030706@gmx.net> <54217F97.4000902@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

