summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas.enge@inria.fr>2020-07-23 13:41:19 +0200
committerAndreas Enge <andreas.enge@inria.fr>2020-07-23 14:37:05 +0200
commit0d01232adcb2f415c88e85bebee4729b0bb9bd68 (patch)
tree7020acb693f4052a65da6a7a5c11c62de66faeb8
parentbc3541daa63fb6f53a5ca422766ef420e3663f6a (diff)
downloadmpc-git-0d01232adcb2f415c88e85bebee4729b0bb9bd68.tar.gz
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.
-rw-r--r--.gitignore10
-rw-r--r--README.dev6
-rw-r--r--configure.ac1
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