diff --git a/build-win32 b/build-win32 index 90d95c7..fde24a9 100755 --- a/build-win32 +++ b/build-win32 @@ -16,9 +16,11 @@ rm -f "${INSTALLDIR}.zip" mkdir "${INSTALLDIR}" mkdir "${BUILDDIR}" +make distclean || true + cd "${BUILDDIR}" # Build for win32 -"${SRCDIR}/configure" --host=i586-mingw32msvc --program-suffix=.exe --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc +"${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc make pkglibdir=/lib pkgdatadir=/data bindir=/bin # Install into our private directory make install DESTDIR="${INSTALLDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/