Slacknoth script now does a 'make clean' before compiling source

This commit is contained in:
Mark Michelsen 2004-03-06 00:05:33 +00:00
parent f7cca1ed76
commit 42dc1517e1

View file

@ -14,6 +14,7 @@ mkdir -p /wesnothpack/wesnoth-$1
echo "Configuring..."
./autogen.sh
./configure --prefix=/usr --enable-server --enable-tools --enable-kde --enable-gnome
make clean
echo "Compiling and gathering package contents..."
make DESTDIR=/wesnothpack/wesnoth-$1 CXXFLAGS="-g -O2 -march=$2" install
mkdir -p /wesnothpack/wesnoth-$1/usr/doc/wesnoth-$1