From: Enlightenment S. <no-...@en...> - 2013-02-15 18:28:53
|
Log: devs/seoz build.sh: updated build script according to the latest svn -> git migration. 1. usage 1.A edit build.sh and update EFL_GIT_DIR and EFL_SVN_DIR according to your directory hierachy. 1.B run build.sh 2. preferred directory tree ~/efl ~/efl/git ~/efl/git/efl ~/efl/svn ~/efl/svn/e/ ~/efl/svn/e/trunk Author: seoz Date: 2013-02-15 10:28:45 -0800 (Fri, 15 Feb 2013) New Revision: 83960 Trac: http://trac.enlightenment.org/e/changeset/83960 Modified: trunk/devs/seoz/build.sh Modified: trunk/devs/seoz/build.sh =================================================================== --- trunk/devs/seoz/build.sh 2013-02-15 16:53:04 UTC (rev 83959) +++ trunk/devs/seoz/build.sh 2013-02-15 18:28:45 UTC (rev 83960) @@ -1,7 +1,12 @@ #!/bin/bash ################# Usage ################## -# trunk$ ./devs/seoz/build.sh +# 1. adjust GIT and SVN variables according to your env +export EFL_GIT_DIR=~/efl/git +export EFL_SVN_DIR=~/efl/svn/e/trunk +#export EFL_SVN_DIR=~/efl/git-svn/e/trunk +# 2. run build.sh +# $ ./build.sh ########################################## ###### Ubuntu == 12.10 Pre-requisites ####### @@ -56,6 +61,7 @@ { echo " " echo "============ EFL ============" + pushd $EFL_GIT_DIR pushd efl echo "" >> $LOG_WARN_FILE echo "[EFL]" >> $LOG_WARN_FILE @@ -69,6 +75,7 @@ sudo make install sudo ldconfig popd + popd } function build_efl_out_of_source() @@ -252,8 +259,14 @@ # efl ctags echo "" echo "=========== TAGS ============" + pushd $EFL_GIT_DIR rm tags -f ctags -h ".h.x.cpp.c" --exclude="*.js" --exclude="*.pxi" --exclude="*IN-EFL*" -R + popd + pushd $EFL_SVN_DIR + rm tags -f + ctags -h ".h.x.cpp.c" --exclude="*.js" --exclude="*.pxi" --exclude="*IN-EFL*" -R + popd } function e17_restart() @@ -266,6 +279,7 @@ create_log build_efl # eina eet eo embryo evas ecore eio edbus efreet eeze ephysics edje emotion ethumb +pushd $EFL_SVN_DIR build "$BUILD_CORE_EFL" --disable-doc build "$BUILD_PYTHON_BINDINGS" "--prefix=/usr/local" #build "$BUILD_CPP_BINDINGS" @@ -277,6 +291,7 @@ build_etc build_themes #build "$BUILD_BROKEN" +popd efl_ctags #e17_restart |