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 /ld | |
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 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/Makefile.am | 6 | ||||
-rw-r--r-- | ld/Makefile.in | 20 |
3 files changed, 24 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b8b5c18..b7a6adc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2021-05-08 Mike Frysinger <vapier@gentoo.org> + * Makefile.am (html-local, doc/ld/index.html): New targets. + * Makefile.in: Regenerate. + +2021-05-08 Mike Frysinger <vapier@gentoo.org> + * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split. * Makefile.in: Regenerate. diff --git a/ld/Makefile.am b/ld/Makefile.am index cb90dae..0314a58 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -1093,6 +1093,12 @@ diststuff: info $(EXTRA_DIST) # ld.1 to support parallel build. info-recursive: ld.1 +html-local: doc/ld/index.html +doc/ld/index.html: ld.texi $(ld_TEXINFOS) + $(MKDIR_P) doc + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld + DISTCLEANFILES = site.exp development.exp enablings.exp site.bak stringify.sed distclean-local: rm -rf ldscripts diff --git a/ld/Makefile.in b/ld/Makefile.in index b654700..211e620 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -2013,7 +2013,7 @@ dvi-am: $(DVIS) html: html-recursive -html-am: $(HTMLS) +html-am: $(HTMLS) html-local info: info-recursive @@ -2176,12 +2176,12 @@ uninstall-man: uninstall-man1 cscopelist-am ctags ctags-am dist-info distclean \ distclean-DEJAGNU distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-local distclean-tags \ - dvi dvi-am html html-am info info-am install install-am \ - install-bfdpluginLTLIBRARIES install-binPROGRAMS install-data \ - install-data-am install-data-local install-dvi install-dvi-am \ - install-exec install-exec-am install-exec-local install-html \ - install-html-am install-info install-info-am install-man \ - install-man1 install-pdf install-pdf-am install-ps \ + dvi dvi-am html html-am html-local info info-am install \ + install-am install-bfdpluginLTLIBRARIES install-binPROGRAMS \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-local \ + install-html install-html-am install-info install-info-am \ + install-man install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-aminfo maintainer-clean-generic mostlyclean \ @@ -2686,6 +2686,12 @@ diststuff: info $(EXTRA_DIST) # But info isn't a direct target. Make info-recursive to depend on # ld.1 to support parallel build. info-recursive: ld.1 + +html-local: doc/ld/index.html +doc/ld/index.html: ld.texi $(ld_TEXINFOS) + $(MKDIR_P) doc + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld distclean-local: rm -rf ldscripts |