run make clean before another compilation

This commit is contained in:
Tatsuhiro Tsujikawa 2009-07-26 13:47:50 +00:00
parent 1fe4932201
commit 4521ea5a79

View File

@ -25,6 +25,7 @@ build()
fi fi
./configure $1 2>&1 | tee "$BUILDDIR/configure_$2.log"\ ./configure $1 2>&1 | tee "$BUILDDIR/configure_$2.log"\
&& cp config.log "$BUILDDIR/config.log_$2" \ && cp config.log "$BUILDDIR/config.log_$2" \
&& LANG=C make clean \
&& LANG=C make -j2 check 2>&1 |tee "$BUILDDIR/aria2c_$2.log" \ && LANG=C make -j2 check 2>&1 |tee "$BUILDDIR/aria2c_$2.log" \
&& cp src/aria2c "$BUILDDIR/aria2c_$2" && cp src/aria2c "$BUILDDIR/aria2c_$2"
} }