summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-12-17 23:14:25 +0100
committerPeter Simons <simons@cryp.to>2009-12-17 23:51:48 +0100
commit413aa7c271260e8d0cc6579e49e353e6dc8e3b79 (patch)
tree74807228ea276ae52ebd9e5193662b64d8c1a11f /configure.ac
parentdf5181a03b1f00d1badd868cf55b0cfcd2d71932 (diff)
downloadautoconf-archive-413aa7c271260e8d0cc6579e49e353e6dc8e3b79.tar.gz
doc: moved all documentation (and its build process) into the doc directory
This relocation has the advantage that makeinfo needs no more magic -I flags to find the generated macro texi files from the top-level; now those files reside all within on directory.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 6cce46b..571c4a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl configure the Autoconf Archive
AC_INIT([autoconf-archive], m4_esyscmd([build-aux/git-version-gen .tarball-version]), [autoconf-archive-maintainers@nongnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall gnu dist-bzip2 dist-xz])
-AC_CONFIG_SRCDIR([autoconf-archive.texi])
+AC_CONFIG_SRCDIR([doc/autoconf-archive.texi])
AC_COPYRIGHT([dnl
Compilation Copyright 2001-2009 by Peter Simons <simons@cryp.to>
@@ -29,13 +29,14 @@ AC_MSG_RESULT([done])
AC_MSG_CHECKING([for available Texinfo documentation])
TEXIFILE=""
-for n in ${srcdir}/doc/*.texi ; do
+(cd ${srcdir}/doc
+for n in *.texi ; do
TEXIFILE="${TEXIFILE} ${n}"
-done
+done)
AC_SUBST([TEXIFILE])
AC_MSG_RESULT([done])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile doc/Makefile])
AC_OUTPUT
dnl Responsibility shifts to the user after this point.