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 /bfd | |
parent | 2faf902da5109e31ad08d84a24f827f0e6f60dc4 (diff) | |
download | gdb-cf758b396026089fe2684afcc5ccd6bd3b7923c0.zip gdb-cf758b396026089fe2684afcc5ccd6bd3b7923c0.tar.gz 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 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/doc/Makefile.am | 5 | ||||
-rw-r--r-- | bfd/doc/Makefile.in | 19 |
3 files changed, 22 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 77bec44..376e8fd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2021-05-08 Mike Frysinger <vapier@gentoo.org> + * doc/Makefile.am (html-local, bfd/index.html): New targets. + * doc/Makefile.in: Regenerate. + +2021-05-08 Mike Frysinger <vapier@gentoo.org> + * doc/Makefile.am (AM_MAKEINFOFLAGS): Define. * doc/Makefile.in: Regenerate. 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: |