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 +++++ bfd/doc/Makefile.in | 19 ++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'bfd/doc') 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 diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index ab3efe9..0724b77 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -765,7 +765,7 @@ dvi-am: $(DVIS) html: html-am -html-am: $(HTMLS) +html-am: $(HTMLS) html-local info: info-am @@ -916,12 +916,12 @@ uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ .PHONY: all all-am check check-am clean clean-aminfo clean-generic \ clean-libtool cscopelist-am ctags-am dist-info distclean \ distclean-generic distclean-libtool distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ + html-am html-local info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-aminfo maintainer-clean-generic mostlyclean \ mostlyclean-aminfo mostlyclean-generic mostlyclean-libtool pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am \ @@ -1168,6 +1168,11 @@ bfdver.texi: $(srcdir)/Makefile.in # 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 + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: -- cgit v1.1