From cf758b396026089fe2684afcc5ccd6bd3b7923c0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 2 May 2021 12:50:39 -0400 Subject: 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. --- bfd/doc/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bfd/doc/Makefile.am') diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 22bb654..631e6ab 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -369,4 +369,9 @@ MAINTAINERCLEANFILES = $(DOCFILES) # cygnus option. install: install-info +html-local: bfd/index.html +bfd/index.html: bfd.texi $(bfd_TEXINFOS) + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/bfd.texi + MAINTAINERCLEANFILES += bfd.info -- cgit v1.1