From 0d01232adcb2f415c88e85bebee4729b0bb9bd68 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Thu, 23 Jul 2020 13:41:19 +0200 Subject: Use a build-aux subdirectory for autotools helper scripts. This may require to run "autoreconf -vfi" once to populate the build-aux subdirectory. * configure.ac (AC_CONFIG_AUX_DIR): Add command. * .gitignore: Update to take into account the new file locations. * README.dev: Add a hint to run "autoreconf -vfi" before a release, to get the latest config.guess and so on. --- .gitignore | 10 +--------- README.dev | 6 +++--- configure.ac | 1 + 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index bbd4740..342faad 100644 --- a/.gitignore +++ b/.gitignore @@ -14,21 +14,13 @@ Makefile aclocal.m4 -ar-lib autom4te.cache -compile -config.guess +/build-aux config.h config.status -config.sub configure -depcomp -install-sh libtool -ltmain.sh -missing stamp-h1 -test-driver /m4/libtool.m4 /m4/ltoptions.m4 /m4/ltsugar.m4 diff --git a/README.dev b/README.dev index ea6024d..5e60eb2 100644 --- a/README.dev +++ b/README.dev @@ -27,9 +27,9 @@ Creating a new release 3) Check that NEWS, BUGS and TODO are up to date, and that the minimal version numbers of gmp and mpfr in configure.ac, INSTALL and doc/mpc.texi are correct. -4) Execute "autoreconf; touch doc/mpc.texi; make distcheck". - This updates the date and version number in doc/version.texi and - creates the tarball for distribution. +4) Execute "autoreconf -vfi; touch doc/mpc.texi; make distcheck". + This updates the files in build-aux and the date and version number in + doc/version.texi and creates the tarball for distribution. 5) Upload to GNU ftp server. 6) Update the web page on the server. The html documentation is created with diff --git a/configure.ac b/configure.ac index 3435d13..9403c5b 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ AC_PREREQ(2.61) AC_INIT(mpc, 1.2.0dev, mpc-discuss@lists.gforge.inria.fr) AC_CONFIG_SRCDIR([src/mpc-impl.h]) +AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE -- cgit v1.2.1