Add silent-rules to configure.in, will allow for less verbose builds, also move configure.in and Makefile.am to platform/unix like other 'project files'

This commit is contained in:
Bart van Strien
2012-05-29 22:01:46 +02:00
parent 124e9d1d2a
commit 140dbd4fcc
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -18,6 +18,9 @@ AUTOMAKE=$(which automake)
[[ -x ${AUTOMAKE} ]] || die "Could not find automake." [[ -x ${AUTOMAKE} ]] || die "Could not find automake."
automagic() { automagic() {
cp platform/unix/configure.in .
cp platform/unix/Makefile.am .
if ! sh platform/unix/gen-makefile; then if ! sh platform/unix/gen-makefile; then
echo "You should be doing this from the root directory of the project." echo "You should be doing this from the root directory of the project."
exit 1 exit 1
+2 -1
View File
@@ -3,7 +3,8 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([platform/unix]) AC_CONFIG_AUX_DIR([platform/unix])
AC_CONFIG_MACRO_DIR([platform/unix/m4]) AC_CONFIG_MACRO_DIR([platform/unix/m4])
AC_CONFIG_SRCDIR([src/love.cpp]) 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_PREFIX_DEFAULT([/usr])
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AC_PROG_CC AC_PROG_CC