This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] New package: psmisc-21.5-1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]