[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (8dca5166715ce9a42a3ca64b8667944995878b58)
"Andraž 'ruskie' Levstik"
ruskie at mages.ath.cx
Sat May 12 20:05:47 EDT 2007
On 13:20:47 2007-05-12 Treeve Jelbert <scm at sourcemage.org> wrote:
> +
> +# spells in several sections now need cmake or qt4
> +#
> +cmake_build() {
> +cd $SOURCE_DIRECTORY &&
> +mkdir -p build &&
> +cd build &&
> +cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr ../ $OPTS &&
> +make
> +}
> +
> +qt4_build() {
> +QTDIR=/usr
> +PATH=$QTDIR/bin/qt4:$PATH
> +cmake_build
> +}
OK here's a quick questin I don't get... why the hell does this first mkdir
build then cd into build
All my cmake experience was always like:
cmake && make && make install nothing much else...
No mkdiring of build or anything that's ussualy for ppl that don't have a
sane package manager like we do. Also not sure about QTDIR and PATH vars...
--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker
Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.
Key id = F4C1F89C
Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6 F134 884D 72CC F4C1 F89C
More information about the SM-Commit
mailing list