summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-02-22 15:34:39 -0700
committerTom Tromey <tom@tromey.com>2016-02-22 15:49:43 -0700
commit6dd5fd5a643c50aff3303ba2add3b6cc7588df78 (patch)
treece7a3e3d5998c7e801507514937c21b2dafd5b77 /configure.ac
parentf2f234aef203a5e836b83cb772f9473f7ea0d5ce (diff)
downloadlibffi-6dd5fd5a643c50aff3303ba2add3b6cc7588df78.tar.gz
fix documentation building
An earlier patch added --disable-docs, but went too far, making it impossible to build the docs. It turns out that Automake seemingly has a bug preventing the conditional build of an info file. So, this patch works around the bug by putting the info_TEXINFOS rule into a new doc/Makefile.am. Tested by building with and without --disable-docs and looking for the existence of doc/libffi.info.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f177495..da7c432 100644
--- a/configure.ac
+++ b/configure.ac
@@ -380,6 +380,6 @@ test -d src/$TARGETDIR || mkdir src/$TARGETDIR
AC_CONFIG_LINKS(include/ffitarget.h:src/$TARGETDIR/ffitarget.h)
-AC_CONFIG_FILES(include/Makefile include/ffi.h Makefile testsuite/Makefile man/Makefile libffi.pc)
+AC_CONFIG_FILES(include/Makefile include/ffi.h Makefile testsuite/Makefile man/Makefile doc/Makefile libffi.pc)
AC_OUTPUT