Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Panard <panard@××××××××.net>
Subject: Re: [gentoo-dev] cmake.eclass
Date: Wed, 24 May 2006 00:57:07
Message-Id: 200605232052.26099.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] cmake.eclass by Panard
1 On Thursday 18 May 2006 07:44, Panard wrote:
2 >         OPTION=${OPTION:-"WITH_${USEFLAG}"}
3
4 quoting here is pointless
5
6 >         mkdir -p ${BUILDDIR}
7 >         cd ${BUILDDIR}
8 >         echo cmake ${S} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
9 >                         $(cmake_use_option debug CMAKE_BUILD_TYPE debugfull)
10 >                         $*
11 > cmake ${S} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
12 >                         $(cmake_use_option debug CMAKE_BUILD_TYPE debugfull)
13 >                         $*
14
15 $BUILDDIR and $S should be quoted
16
17 use "$@", not $*
18
19 >         cd ${OLDPWD}
20
21 if you want to enter a directory and then return to previous, use pushd/popd,
22 not $OLDPWD
23 -mike

Replies

Subject Author
Re: [gentoo-dev] cmake.eclass Panard <panard@××××××××.net>