make clean
This commit is contained in:
parent
c761ea62e6
commit
92af7a68a9
@ -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
|
||||
|
@ -491,7 +491,8 @@ function mesh_tox_node {
|
||||
|
||||
$CHROOT_PREFIX autoreconf -i
|
||||
$CHROOT_PREFIX ./configure --enable-daemon --disable-av
|
||||
$CHROOT_PREFIX make
|
||||
$CHROOT_PREFIX make clean
|
||||
$CHROOT_PREFIX make -k
|
||||
if [ ! "$?" = "0" ]; then
|
||||
return
|
||||
fi
|
||||
@ -603,7 +604,8 @@ function mesh_tox_client {
|
||||
sed -i "s|Toxic commit.*|Toxic commit:$TOXIC_COMMIT|g" $rootdir$COMPLETION_FILE
|
||||
fi
|
||||
|
||||
$CHROOT_PREFIX make
|
||||
$CHROOT_PREFIX make clean
|
||||
$CHROOT_PREFIX make -k
|
||||
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
||||
exit 74872
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user