make clean

This commit is contained in:
Bob Mottram 2016-05-29 11:49:50 +01:00
parent c761ea62e6
commit 92af7a68a9
2 changed files with 895 additions and 882 deletions

View File

@ -293,9 +293,16 @@ function compile_toxcore {
fi
cd $INSTALL_DIR/toxcore
SECONDS=0
if [ -f $INSTALL_DIR/configure_toxcore.txt ]; then
rm $INSTALL_DIR/configure_toxcore.txt
fi
if [ -f $INSTALL_DIR/make_toxcore.txt ]; then
rm $INSTALL_DIR/make_toxcore.txt
fi
autoreconf -i
./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
make > $INSTALL_DIR/make_toxcore.txt
make clean
make -k > $INSTALL_DIR/make_toxcore.txt
if [ ! "$?" = "0" ]; then
duration=$SECONDS
echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
@ -393,8 +400,12 @@ function compile_tox_client {
fi
cd $INSTALL_DIR/toxic
if [ -f $INSTALL_DIR/make_toxic.txt ]; then
rm $INSTALL_DIR/make_toxic.txt
fi
SECONDS=0
make > $INSTALL_DIR/make_toxic.txt
make clean
make -k > $INSTALL_DIR/make_toxic.txt
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
duration=$SECONDS
echo $"Toxic client compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG

File diff suppressed because it is too large Load Diff