Re: [PATCH] libgloss: doc: generate single page & split html manuals
Mike Frysinger <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <ZS0NeeNmrZalsz82@vapier> |
On 16 Oct 2023 09:31, R. Diez wrote: > > libgloss/Makefile.in | 11 +++++++++-- > > libgloss/doc/Makefile.inc | 7 +++++++ > > Does this mean that only libgloss is affected? Or does the libc part also have the concept of split / single HTML manuals? i'll update newlib (libc+libm) once people are happy with this direction. > > +@HAVE_DOC_TRUE@html-local: doc/porting/index.html > > Is 'html-local' the new target? this is an internal Automake hook point. people still run `make html` and they'll get both forms of the manual. https://www.gnu.org/software/automake/manual/1.16.5/automake.html#index-html_002dlocal > > +@HAVE_DOC_TRUE@AM_MAKEINFOFLAGS = --no-split > > [...] > > +@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) > > [...] > > +AM_MAKEINFOFLAGS = --no-split > > [...] > > +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) > > > I do not actually know what @HAVE_DOC_TRUE@ means. Makefile.in is generated code that isn't meant to be read by most people. > All I can see above next to AM_MAKEINFOFLAGS is "--no-split", but then the command-line arguments are both "--split=node". Is that not a contradiction? standard CLI behavior: later options override earlier one. -mike
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmUtDXkACgkQQWM7n+g3 9YFAow//VVyaffULQ0yvBeGr5M5dueys/6yvnThM+A7xeghbTiJPHUxc+q+hKhgd F1Clfy3ppG2n6wC/yxukbOtYRTi7MZ9GZe+ozdY18d8dv6WB1ABrRukFyQ6z8AQq ChcvTxvlccg/xW9j79lVM9M+ir8ZkQ24zwRPa9lKrgY0yvc+sOzhuOdglAeg7Bdw up/y/B6zO2DtaDRqFF26o7mgSsgGNGaMDXKTbh+tZfdcPYTkGllVF9o+AG1f/+P6 X3g9+Cv2gWivOlobLkZ9K+wFC7ord4/ToPqNG+Ksi36HMvC7hTunskrnAR/3UbyJ OY+bIS5s9VxumIeaEoMMvAfP7XWL1YB4YN2b4veMN5mdazHyk9xN6iPNyeTpfSpX LJE5x7AvZH9RCFFyH/XROIE7Ko0wQrqumVGt6l5Im6TrGJ2SXPvznRuwrywaJDwN T4CI8aRjS6ruBEXTY5PjmyBFTI74FjepUS2Ok/ZVvEuC8CjluAKNpt4N7xyEUVyX 3uYzXf9vFHPYoXKBCO3uEDnmq6Tp3F/oRiyzz9QCKK8XRhqwb2BgZSDn1c3I4sfV DfUFMkqGrOvUXZMT7UECrTqBpchD3f3l64Es+8WWjVFz5ypHez2EVMhEKuy3c40p +2el5pIZZ+BL3GsNPk/Zm8e9uBtDbAcEQ/McxXaKgas/APrZ4lc= =9Pcq -----END PGP SIGNATURE-----