diff --git a/Makefile.am b/platform/unix/Makefile.am similarity index 100% rename from Makefile.am rename to platform/unix/Makefile.am diff --git a/platform/unix/automagic b/platform/unix/automagic index d5932facf..dfa3e4c6b 100755 --- a/platform/unix/automagic +++ b/platform/unix/automagic @@ -18,6 +18,9 @@ AUTOMAKE=$(which automake) [[ -x ${AUTOMAKE} ]] || die "Could not find automake." automagic() { + cp platform/unix/configure.in . + cp platform/unix/Makefile.am . + if ! sh platform/unix/gen-makefile; then echo "You should be doing this from the root directory of the project." exit 1 diff --git a/configure.in b/platform/unix/configure.in similarity index 96% rename from configure.in rename to platform/unix/configure.in index dace4d313..3a9452c5d 100644 --- a/configure.in +++ b/platform/unix/configure.in @@ -3,7 +3,8 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([platform/unix]) AC_CONFIG_MACRO_DIR([platform/unix/m4]) AC_CONFIG_SRCDIR([src/love.cpp]) -AM_INIT_AUTOMAKE([foreign -Wall foreign tar-ustar]) +AM_INIT_AUTOMAKE([foreign -Wall foreign tar-ustar silent-rules]) +AM_SILENT_RULES AC_PREFIX_DEFAULT([/usr]) AC_PROG_LIBTOOL AC_PROG_CC