build: make use of AC_CONFIG_AUX_DIR

Place most of the autogenerated files in a separate directory that can
be ignored wholesale, thereby reducing files in the top-level
directory.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
This commit is contained in:
Jan Engelhardt 2012-12-12 03:55:42 +01:00
parent abb6bb88bc
commit ec1a5da788
2 changed files with 4 additions and 11 deletions

14
.gitignore vendored
View File

@ -11,17 +11,9 @@ Makefile.in
/aclocal.m4
/autom4te.cache/
/config.h
/config.h.in
/config.log
/config.status
/config.status.lineno
/config.cache
/configure
/configure.lineno
/depcomp
/install-sh
/missing
/build-aux/
/config.*
/configure*
/stamp-h1
/mkfs/mkfs.f2fs

View File

@ -31,6 +31,7 @@ AC_CHECK_FILE(.git,
AM_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([mkfs/f2fs_format.c])
AC_CHECK_HEADERS_ONCE([