delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/04/09:50:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 4 Mar 2005 15:50:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: psmisc-21.5-1
Message-ID: <20050304145031.GA23102@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20050303211512 DOT D095557D73 AT cygbert DOT vinschen DOT de> <00ac01c520c7$4fe95680$c40110ac AT robinson DOT cam DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <00ac01c520c7$4fe95680$c40110ac@robinson.cam.ac.uk>
User-Agent: Mutt/1.4.2i

On Mar  4 14:34, Max Bowsher wrote:
> Corinna Vinschen wrote:
> >   --datadir=$(prefix)/share \
> >   --mandir=$(prefix)/share/man \
> 
> Shouldn't those be braces, not parentheses?

I'm using parenthesis, because they are not expanded before put into
the Makefile.  So they refer to the Makefile variable prefix and a
later

  make prefix=/foo

changes all depending variables.

However, as usual I forgot to *quote* the strings.  This is the correct
version:

  ./configure \
    --prefix=/usr \
    --datadir='$(prefix)/share' \
    --mandir='$(prefix)/share/man' \
    --without-libiconv-prefix \
    --without-libintl-prefix


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019