summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-08-27 17:41:50 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-08-29 17:18:18 +0200
commit64031f2aaf721043eff0aecec840bce71cec97ae (patch)
tree5fc85248ec1a43336ac54588a98792aed46b5093 /configure.ac
parentbb64793a95ea0576c817a8e01f0a689d9547de4a (diff)
downloadautomake-64031f2aaf721043eff0aecec840bce71cec97ae.tar.gz
build: Add 'pre-inst-env' wrapper script
This script allows someone building Automake from source to easily run 'automake' and 'aclocal' without having to install it or knowing the existence of "wrapped" scripts in "bin" directory. * pre-inst-env.in: New script. * configure.ac: Generate 'pre-inst-env' at configure time. * Makefile.am (nodist_noinst_SCRIPTS, CLEANFILES): Add it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c9c257b37..e936e9e00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -580,6 +580,7 @@ AC_SUBST([EXEEXT])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])
+AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_CONFIG_FILES([bin/aclocal-${APIVERSION}:bin/wrap-aclocal.in],
[chmod +x bin/aclocal-${APIVERSION}],
[APIVERSION=$APIVERSION])