mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-17 20:58:07 +02:00
* second part
This commit is contained in:
parent
2c2b5b3bdf
commit
2debbb337a
@ -102,4 +102,4 @@ AC_SUBST(VCMI_AI_LIBS_DIR)
|
||||
VCMI_SCRIPTING_LIBS_DIR="$libdir/vcmi/Scripting"
|
||||
AC_SUBST(VCMI_SCRIPTING_LIBS_DIR)
|
||||
|
||||
AC_OUTPUT(Makefile lib/Makefile server/Makefile AI/Makefile AI/StupidAI/Makefile AI/GeniusAI/Makefile AI/EmptyAI/Makefile Scripting/ERM/Makefile Odpalarka/Makefile VCMI_BattleAiHost/Makefile)
|
||||
AC_OUTPUT(Makefile lib/Makefile server/Makefile AI/Makefile AI/StupidAI/Makefile Scripting/ERM/Makefile Odpalarka/Makefile VCMI_BattleAiHost/Makefile)
|
||||
|
@ -21,6 +21,19 @@ if [ "$1" = "--install" ]; then
|
||||
svn co https://vcmi.svn.sourceforge.net/svnroot/vcmi/branches/programmingChallenge/ vcmi
|
||||
errorcheck "fetching sources"
|
||||
cd vcmi
|
||||
if [ "$2" = "lean" ]; then
|
||||
mv "Makefile without client.am" Makefile.am
|
||||
mv "configure without client.ac" configure.ac
|
||||
rm client/Makefile.am
|
||||
echo "SUBDIRS = StupidAI" > AI/Makefile.am
|
||||
rm -rf AI/EmptyAI
|
||||
rm -rf AI/GeniusAI
|
||||
elif [ "$2" = "full" ]; then
|
||||
mv "Makefile with client.am" Makefile.am
|
||||
mv "configure with client.ac" configure.ac
|
||||
else
|
||||
incusage
|
||||
fi
|
||||
autoreconf -i
|
||||
errorcheck "autoreconf -i"
|
||||
cd ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user