configure.ac: use a separate folder for Autoconf-generated files
authorR. Diez <rdiezmail-openocd@yahoo.de>
Thu, 13 May 2021 11:43:09 +0000 (13:43 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 May 2021 09:08:09 +0000 (10:08 +0100)
Autoconf generates several files in root folder of the project.
Keep the root folder cleaner by specifying subfolder 'build-aux'.
Align .gitignore accordingly.

Signed-off-by: R. Diez <rdiezmail-openocd@yahoo.de>
Change-Id: Ied87faba495d9eeb8f98e78c2e2b7e7e596febfb
Reviewed-on: http://openocd.zylin.com/6236
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
.gitignore
configure.ac

index f1021b26380ea9251ef69c3688edbf9a51d1304a..e25d1ba96dfe200af840e848e8b81b1d33e7e730 100644 (file)
@@ -53,27 +53,23 @@ doc/openocd.toc
 doc/openocd.tp
 doc/openocd.vr
 doc/version.texi
-texinfo.tex
 src/openocd
 src/openocd.exe
 
 # configure/autotools output
+/build-aux/
 aclocal.m4
 autom4te.cache
-compile
-config.*
+config.h
+config.log
+config.status
 configure
-depcomp
 doxygen
 doxygen.log
 Doxyfile
-install-sh
 libtool
-ltmain.sh
 Makefile
 !contrib/loaders/**/Makefile
-mdate-sh
-missing
 stamp-h1
 stamp-vti
 INSTALL
index 139598e159e5dd5fdd0674ed871eaed04f46da23..2a455fa555fb4a8d58bd3eef6c019ac2cb425ec7 100644 (file)
@@ -2,7 +2,7 @@ AC_PREREQ([2.69])
 AC_INIT([openocd], [0.11.0+dev],
   [OpenOCD Mailing List <openocd-devel@lists.sourceforge.net>])
 AC_CONFIG_SRCDIR([src/openocd.c])
-AC_CONFIG_AUX_DIR([.])
+AC_CONFIG_AUX_DIR([build-aux])
 
 m4_include([config_subdir.m4])dnl