[ANNOUNCEMENT] New package: psmisc-21.5-1

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 4 16:52:00 GMT 2005


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@cygwin.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/



More information about the Cygwin mailing list