]> sourceware.org Git - newlib-cygwin.git/commitdiff
libgloss: doc: generate single page & split html manuals
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Oct 2023 08:22:06 +0000 (14:07 +0545)
committerJeff Johnston <jjohnstn@redhat.com>
Tue, 19 Dec 2023 22:04:41 +0000 (17:04 -0500)
By default, only split node html manuals are generated.  Change the
default to single page, and add an extra rule to also generate the
split page manual.

libgloss/Makefile.in
libgloss/doc/Makefile.inc

index 6c5a12256c4080df4e0bcff16eb01c4cca6c6329..7c7ad68dc41142f2b32dedd0ee6915e16a871048 100644 (file)
@@ -937,6 +937,7 @@ MULTISUBDIR =
 MULTIDO = true
 MULTICLEAN = true
 TEXINFO_TEX = ../texinfo/texinfo.tex
+@HAVE_DOC_TRUE@AM_MAKEINFOFLAGS = --no-split
 @CONFIG_AARCH64_TRUE@aarch64_librdimon_a_SOURCES = \
 @CONFIG_AARCH64_TRUE@  aarch64/_exit.c \
 @CONFIG_AARCH64_TRUE@  aarch64/_kill.c \
@@ -5097,6 +5098,7 @@ distclean-generic:
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
+@HAVE_DOC_FALSE@html-local:
 clean: clean-recursive
 
 clean-am: clean-aminfo clean-binPROGRAMS clean-checkPROGRAMS \
@@ -5116,7 +5118,7 @@ dvi-am: $(DVIS)
 
 html: html-recursive
 
-html-am: $(HTMLS)
+html-am: $(HTMLS) html-local
 
 info: info-recursive
 
@@ -5283,7 +5285,7 @@ uninstall-am: uninstall-aarch64_cpu_initcpuinitDATA \
        clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am \
        dist-info distclean distclean-compile distclean-generic \
        distclean-hdr distclean-local distclean-tags dvi dvi-am html \
-       html-am info info-am install \
+       html-am html-local info info-am install \
        install-aarch64_cpu_initcpuinitDATA install-am \
        install-arm_cpu_initcpuinitDATA install-binPROGRAMS \
        install-data install-data-am install-dvi install-dvi-am \
@@ -5336,6 +5338,11 @@ clean-local: clean-multi
 distclean-local: distclean-multi
 maintainer-clean-local: maintainer-clean-multi
 
+@HAVE_DOC_TRUE@html-local: doc/porting/index.html
+@HAVE_DOC_TRUE@doc/porting/index.html: doc/porting.texi doc/$(am__dirstamp)
+@HAVE_DOC_TRUE@        $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
+@HAVE_DOC_TRUE@                --split=node $< -o $(@D)
+
 @CONFIG_AARCH64_TRUE@aarch64/crt0.$(OBJEXT): aarch64/crt0.S
 @CONFIG_AARCH64_TRUE@  $(AM_V_CPPAS)$(CPPASCOMPILE) -DSEMIHOST_V2 -o $@ -c $<
 @CONFIG_AARCH64_TRUE@aarch64/rdimon-crt0.$(OBJEXT): aarch64/crt0.S
index fa5e30fbf2bc90c5fe7bdd6dab4413b55b803742..6f9050fc87f872225d30e26076ad7b8753cc601d 100644 (file)
@@ -1 +1,8 @@
+AM_MAKEINFOFLAGS = --no-split
+
 info_TEXINFOS += %D%/porting.texi
+
+html-local: %D%/porting/index.html
+%D%/porting/index.html: %D%/porting.texi %D%/$(am__dirstamp)
+       $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
+               --split=node $< -o $(@D)
This page took 0.060664 seconds and 5 git commands to generate.