Thanks,

so your addition should go between
    make distclean &> /dev/null
and
    ./autogen.sh --prefix=$BUILD_DIR &> $CVS_SRC/logs/$X.log
?

Maybe I'll make a Perl version of it sometime.

Jasper

> nice job Jasper,
>
> works fine here. I just added these lines:
> ...
> LDDFLAGS=-L$BUILD_DIR/lib
> CPPFLAGS=-L$BUILD_DIR/include
> ...
> then, call then in autogen argument list.
>
> thanks for the script
>
>
> On Tue, 01 Mar 2005 15:29:02 +0100, Jasper <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> because I'm getting tired of typing the commands for building E17. I
>> took the script from Edevelop (dated 2002) and updated it. I haven't
>> tested it yet. But does it _look_ like it'll work?
>>
>> ---------------build-e17.sh---------------------
>> #!/bin/sh
>>
>> # Where the CVS directory is
>> CVS_SRC=/home/jasper/e17/src
>> # where we want E to be installed
>> BUILD_DIR=/home/jasper/e17/src
>> # gcc flags
>> FLAGS="-O3 -march=pentium3"
>>
>> maak() {
>> make distclean &> /dev/null
>>
>> # configure, make, & install with logs
>> ./autogen.sh --prefix=$BUILD_DIR &> $CVS_SRC/logs/$X.log
>> make -j2 CFLAGS="$FLAGS" &> cat >> $CVS_SRC/logs/$X.log
>> make install &> /dev/null
>> if [ $(grep -c Error $CVS_SRC/logs/$X.log) != 0 ]; then
>> echo "Compile failed"
>> fi
>> }
>>
>> # clean up old stuff
>> rm -rf $BUILD_DIR/*
>> rm -rf $CVS_SRC/logs
>> mkdir $CVS_SRC/logs
>>
>> # build libraries
>> for X in imlib2 edb eet evas ecore epeg epsilon embryo edje esmart
>> emotion etox ewl
>> do
>> echo $(date +%T) - Now building $X
>> cd $CVS_SRC/libs/$X
>> maak
>> done
>>
>> # build apps
>> for X in iconbar entrance elicit e
>> do
>> echo $(date +%T) - Now building $X
>> cd $CVS_SRC/apps/$X
>> maak
>> done
>> ---------------build-e17.sh---------------------
>>
>> -Jasper
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> enlightenment-users mailing list
>> enlightenment-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>
>
>
> --
> [ Benone Marcos ]
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to