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

Reply via email to