#!/bin/sh # CHECK=check DEBUG=--enable-debug if test "x$1" = "x-f"; then CHECK=clean fi if test "x$1" = "x-r"; then DEBUG= fi make distclean # Reconfigure (with force) to get the latest revision from git autoreconf -f if ! ./configure.windows-x86 $DEBUG; then exit 1 fi if ! make $CHECK; then exit 1 fi if ! make distwindows-x86 distclean; then exit 1 fi if ! ./configure.windows-x64 $DEBUG; then exit 1 fi if ! make distwindows-x64 distclean; then exit 1 fi if ! ./configure ; then exit 1 fi if ! make dist; then exit 1 fi