aboutsummaryrefslogtreecommitdiff
path: root/libctf/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-29 20:44:07 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-01 23:42:02 -0500
commit1eaa86a6d5bc8b79e1783582f5b58e4fa5675e03 (patch)
tree7203ccf40565a3047a74a03aa8c8cb52c9e3120b /libctf/Makefile.am
parentab557072b8ecd11c77916d00312d80b85ce3284c (diff)
downloadgdb-1eaa86a6d5bc8b79e1783582f5b58e4fa5675e03.zip
gdb-1eaa86a6d5bc8b79e1783582f5b58e4fa5675e03.tar.gz
gdb-1eaa86a6d5bc8b79e1783582f5b58e4fa5675e03.tar.bz2
libctf: merge doc subdir up a level
This avoids a recursive make into the doc subdir and speeds up the build slightly. It also allows for more parallelism.
Diffstat (limited to 'libctf/Makefile.am')
-rw-r--r--libctf/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/libctf/Makefile.am b/libctf/Makefile.am
index 3d757e4..3e51b7b 100644
--- a/libctf/Makefile.am
+++ b/libctf/Makefile.am
@@ -19,11 +19,12 @@
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
-AUTOMAKE_OPTIONS = dejagnu foreign no-texinfo.tex
+AUTOMAKE_OPTIONS = dejagnu foreign info-in-builddir no-texinfo.tex
-if BUILD_INFO
-SUBDIRS = doc
-endif
+# Variables that we might accumulate conditionally or in subdirs.
+info_TEXINFOS =
+DISTCLEANFILES =
+MAINTAINERCLEANFILES =
# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
# -I../zlib, unless we were configured with --with-system-zlib, in which
@@ -110,5 +111,9 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh
EXTRA_DEJAGNU_SITE_CONFIG = development.exp
-DISTCLEANFILES = site.exp development.exp
+DISTCLEANFILES += site.exp development.exp
+endif
+
+if BUILD_INFO
+include doc/local.mk
endif