commit:     de0b86066071596bf780b8ba3855fef8a2fbc094
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 01:03:56 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 14:59:25 2020 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=de0b8606

configure.ac: place build artifacts in the "build-aux" directory.

During the build, autotools generates a bunch of files that need a
place to live. By default, most of them (the "missing" script, for
example) wind up in the project root. This commit sets

  AC_CONFIG_AUX_DIR([build-aux])

in configure.ac so that the aforementioned files are placed in the
build-aux directory instead.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .gitignore   | 3 +--
 configure.ac | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5a461dd..97ae412 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,12 +3,11 @@ Makefile
 Makefile.in
 aclocal.m4
 autom4te.cache/
+build-aux/
 config.log
 config.status
 configure
 openrc/init.d/php-fpm
 openrc/init.d/php-fpm.in
-install-sh
-missing
 src/php.eselect
 src/php.eselect.in

diff --git a/configure.ac b/configure.ac
index 5c27275..715e7e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,5 @@
 AC_INIT([eselect-php], [0.9.5])
+AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz])
 
 AC_PROG_LN_S

Reply via email to