Browse Source

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'

Bart van Strien 13 years ago
parent
commit
140dbd4fcc
3 changed files with 5 additions and 1 deletions
  1. 0 0
      platform/unix/Makefile.am
  2. 3 0
      platform/unix/automagic
  3. 2 1
      platform/unix/configure.in

+ 0 - 0
Makefile.am → platform/unix/Makefile.am


+ 3 - 0
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

+ 2 - 1
configure.in → 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