summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rwxr-xr-xserver/autobuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/autobuild b/server/autobuild
index 09a0e49..89a4ccd 100755
--- a/server/autobuild
+++ b/server/autobuild
@@ -490,10 +490,6 @@ if [ -n "$PKGCMD" ];then
echo
fi
-echo "---------------------------"
-echo " Configuring and compiling "
-echo "---------------------------"
-
# Try to be in the correct directory.
if which dirname >/dev/null 2>&1; then
cd "$(dirname "$0")" || {
@@ -502,6 +498,10 @@ if which dirname >/dev/null 2>&1; then
}
fi
+echo "---------------------------"
+echo " Configuring and compiling "
+echo "---------------------------"
+
# Create the configure script.
if ! [ -f ./configure ]; then
assert_program autoreconf
@@ -515,8 +515,8 @@ if [ -n "$INSTALL_DIR" ]; then
prefix=--bindir=$INSTALL_DIR
fi
-echo "./configure -q $prefix && make -s"
-eval "./configure -q $(quote "$prefix") && make -s || exit_fail"
+echo "./configure -q $prefix && make clean && make -s"
+eval "./configure -q $(quote "$prefix") && make clean && make -s || exit_fail"
echo
if [ -n "$INSTALL_DIR" ]; then
echo "---------------------------"