mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
91 lines
2.9 KiB
Text
91 lines
2.9 KiB
Text
|
#!/bin/sh -
|
||
|
|
||
|
#export RYZOM_PATH="$HOME/code/ryzom"
|
||
|
|
||
|
if [ X"$RYZOM_PATH" = "X" ]
|
||
|
then
|
||
|
echo Error: You need to setup \$RYZOM_PATH environement variable with the path where the ryzom code is
|
||
|
echo For example: export RYZOM_PATH=\"/home/user/code/ryzom\"
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
. $RYZOM_PATH/tools/scripts/linux/utilities
|
||
|
|
||
|
init
|
||
|
|
||
|
##############################################################################
|
||
|
#### BUILD NEL
|
||
|
##############################################################################
|
||
|
|
||
|
$RYZOM_PATH/tools/scripts/linux/build init nel --disable-3d --disable-samples --disable-tools >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? BUILD INIT NEL
|
||
|
|
||
|
#$RYZOM_PATH/tools/scripts/linux/build nel clean
|
||
|
#verify $? BUILD NEL CLEAN
|
||
|
|
||
|
$RYZOM_PATH/tools/scripts/linux/build nel >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? BUILD NEL
|
||
|
|
||
|
$RYZOM_PATH/tools/scripts/linux/build nel install >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? BUILD NEL INSTALL
|
||
|
|
||
|
##############################################################################
|
||
|
#### BUILD NELNS
|
||
|
##############################################################################
|
||
|
# update: we don't need nelns to run a ryzom shard
|
||
|
|
||
|
#$RYZOM_PATH/tools/scripts/linux/build init nelns >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
#verify $? BUILD INIT NELNS
|
||
|
|
||
|
#$RYZOM_PATH/tools/scripts/linux/build nelns clean
|
||
|
#verify $? BUILD NEL CLEAN
|
||
|
|
||
|
#$RYZOM_PATH/tools/scripts/linux/build nelns >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
#verify $? BUILD NELNS
|
||
|
|
||
|
#$RYZOM_PATH/tools/scripts/linux/build nelns install >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
#verify $? BUILD NELNS INSTALL
|
||
|
|
||
|
|
||
|
##############################################################################
|
||
|
##### CLEAR packed_sheet (rebuilt in Ryzom build)
|
||
|
##############################################################################
|
||
|
|
||
|
rm $RYZOM_PATH/server/src/*/*.packed_sheets
|
||
|
|
||
|
##############################################################################
|
||
|
#### BUILD RYZOM COMMON
|
||
|
##############################################################################
|
||
|
|
||
|
cd $RYZOM_PATH/common
|
||
|
|
||
|
#make clean >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
#verify $? CLEAN RYZOM COMMON
|
||
|
|
||
|
make update >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? UPDATE RYZOM MAKEFILE COMMON
|
||
|
|
||
|
make night >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? BUILD RYZOM COMMON
|
||
|
|
||
|
##############################################################################
|
||
|
#### BUILD RYZOM
|
||
|
##############################################################################
|
||
|
|
||
|
cd $RYZOM_PATH/server
|
||
|
|
||
|
#make clean >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
#verify $? CLEAN RYZOM
|
||
|
|
||
|
make update >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? UPDATE RYZOM MAKEFILE
|
||
|
|
||
|
CFLAGS="-DFINAL_VERSION=1" CXXFLAGS="-DFINAL_VERSION=1" make night >>$LOG_INFO 2>>$LOG_ERROR
|
||
|
verify $? BUILD RYZOM
|
||
|
|
||
|
##############################################################################
|
||
|
##### copy translation file from tools/translation
|
||
|
##############################################################################
|
||
|
|
||
|
#cp -a $RYZOM_PATH/tools/translation/translated/*.txt $RYZOM_PATH/server/data_shard/language/
|