From 74c97a249290c9e33e6f06a27f5c99fb5bce36d4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 16 Mar 2020 10:41:40 -0400 Subject: [PATCH] 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 "compile" and "missing" scripts, 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. This keeps the top-level directory nice and clean. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 83729dc..6de8a99 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,7 @@ AC_PREREQ([2.68]) AC_INIT([apply-default-acl], [0.4.2], [michael@orlitzky.com]) +# Store build artifacts in this directory to keep the house clean. +AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz tar-ustar]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_CONFIG_SRCDIR([src/apply-default-acl.c]) -- 2.43.2