From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2134) id 6E3F73858417; Tue, 19 Dec 2023 22:04:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E3F73858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703023489; bh=kUxSFN6KNtVWu1CBap6MlYDHKsZlvMepKj8tsn9YTW4=; h=From:To:Subject:Date:From; b=aE/AWOs3wlOjB9pr1pXq5zoGYAnqRx7yN9q6T28CzNf6gxySF4VVltnGl59PuWtrI eIRQkEaJS5n41itNuXp0amP6ihUXpaxIhPQuMLLq8ygp3EM7/virwZQjlFo442Y6jx QT2pSSgVrQ99rsnyI60kLbLRKZqH1aqCOMxoRoqs= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libgloss: doc: generate single page & split html manuals X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 751a3427e012b165086a4fd2da5981b0bbeaac07 X-Git-Newrev: 30c469f2e83023b9f77b1771f539006267c632a9 Message-Id: <20231219220449.6E3F73858417@sourceware.org> Date: Tue, 19 Dec 2023 22:04:49 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D30c469f2e83= 023b9f77b1771f539006267c632a9 commit 30c469f2e83023b9f77b1771f539006267c632a9 Author: Mike Frysinger Date: Sun Oct 15 14:07:06 2023 +0545 libgloss: doc: generate single page & split html manuals =20 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. Diff: --- libgloss/Makefile.in | 11 +++++++++-- libgloss/doc/Makefile.inc | 7 +++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index 6c5a12256..7c7ad68dc 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -937,6 +937,7 @@ MULTISUBDIR =3D MULTIDO =3D true MULTICLEAN =3D true TEXINFO_TEX =3D ../texinfo/texinfo.tex +@HAVE_DOC_TRUE@AM_MAKEINFOFLAGS =3D --no-split @CONFIG_AARCH64_TRUE@aarch64_librdimon_a_SOURCES =3D \ @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 =20 clean-am: clean-aminfo clean-binPROGRAMS clean-checkPROGRAMS \ @@ -5116,7 +5118,7 @@ dvi-am: $(DVIS) =20 html: html-recursive =20 -html-am: $(HTMLS) +html-am: $(HTMLS) html-local =20 info: info-recursive =20 @@ -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 =20 +@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) $(MAKEI= NFOFLAGS) \ +@HAVE_DOC_TRUE@ --split=3Dnode $< -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 diff --git a/libgloss/doc/Makefile.inc b/libgloss/doc/Makefile.inc index fa5e30fbf..6f9050fc8 100644 --- a/libgloss/doc/Makefile.inc +++ b/libgloss/doc/Makefile.inc @@ -1 +1,8 @@ +AM_MAKEINFOFLAGS =3D --no-split + info_TEXINFOS +=3D %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=3Dnode $< -o $(@D)