diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-02 12:50:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-08 12:06:07 -0400 |
commit | cf758b396026089fe2684afcc5ccd6bd3b7923c0 (patch) | |
tree | 33fabd3035b892bf46d4f565575866ce5c62bdd0 /binutils/doc/Makefile.am | |
parent | 2faf902da5109e31ad08d84a24f827f0e6f60dc4 (diff) | |
download | fsf-binutils-gdb-cf758b396026089fe2684afcc5ccd6bd3b7923c0.zip fsf-binutils-gdb-cf758b396026089fe2684afcc5ccd6bd3b7923c0.tar.gz fsf-binutils-gdb-cf758b396026089fe2684afcc5ccd6bd3b7923c0.tar.bz2 |
support generating multi-html pages in parallel
Use the pattern from other projects where we generate the html pages
in a dir named the same as the project. So now we have:
gas/doc/gas.html - single html page
gas/doc/gas/ - multiple html pages
This works for projects that have a doc/ subdir already, but gprof &
ld require a little tweaking since they generate their docs in their
respective toplevels.
Diffstat (limited to 'binutils/doc/Makefile.am')
-rw-r--r-- | binutils/doc/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/doc/Makefile.am b/binutils/doc/Makefile.am index eb42b23..ba53f92 100644 --- a/binutils/doc/Makefile.am +++ b/binutils/doc/Makefile.am @@ -175,6 +175,11 @@ $(DEMANGLER_NAME).1: cxxfilt.man Makefile -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \ > $(DEMANGLER_NAME).1 +html-local: binutils/index.html +binutils/index.html: binutils.texi $(binutils_TEXINFOS) + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/binutils.texi + # Maintenance # We need it for the taz target in ../../Makefile.in. |