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 /gas/doc | |
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 'gas/doc')
-rw-r--r-- | gas/doc/Makefile.am | 5 | ||||
-rw-r--r-- | gas/doc/Makefile.in | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am index 34ff5d5..f2c6654 100644 --- a/gas/doc/Makefile.am +++ b/gas/doc/Makefile.am @@ -133,4 +133,9 @@ as.1: $(srcdir)/as.texi asconfig.texi $(CPU_DOCS) (rm -f $@.T$$$$ && exit 1) rm -f as.pod +html-local: as/index.html +as/index.html: as.texi $(as_TEXINFOS) + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/as.texi + MAINTAINERCLEANFILES += as.info diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index 369f74f..89d2ca0 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -772,7 +772,7 @@ dvi-am: $(DVIS) html: html-am -html-am: $(HTMLS) +html-am: $(HTMLS) html-local info: info-am @@ -925,7 +925,7 @@ uninstall-man: uninstall-man1 .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 info-local install install-am \ + html-am html-local info info-am info-local install install-am \ install-data install-data-am install-data-local install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ @@ -967,6 +967,11 @@ as.1: $(srcdir)/as.texi asconfig.texi $(CPU_DOCS) (rm -f $@.T$$$$ && exit 1) rm -f as.pod +html-local: as/index.html +as/index.html: as.texi $(as_TEXINFOS) + $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ + --split=node -I$(srcdir) $(srcdir)/as.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: |