mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 19:40:07 +08:00
0b4cbd2fb8
Add makedocbook, a tool to process makedoc markup and output DocBook XML refentries. Process all the source files which are processed with makedoc with makedocbook as well Add chapter-texi2docbook, a tool to automatically generate DocBook XML chapter files from the chapter .texi files. For generating man pages all we care about is the content of the refentries, so all this needs to do is convert the @include of the makedoc generated .def files to xi:include of the makedocbook generated .xml files. Add skeleton Docbook XML book files, lib[cm].in.xml which include these generated chapters, which in turn include the generated files containing refentries, which is processed with xsltproc to generate the lib[cm].xml Add new make targets to generate and install man pages from lib[cm].xml
43 lines
1.2 KiB
XML
43 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
|
<book id="libc" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<bookinfo>
|
|
<productname>newlib</productname>
|
|
</bookinfo>
|
|
|
|
<xi:include href="stdlib.xml"/>
|
|
<xi:include href="ctype.xml"/>
|
|
<xi:include href="stdio.xml"/>
|
|
<!-- stdio64 is optional -->
|
|
<xi:include href="stdio64.xml">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
|
|
<xi:include href="strings.xml"/>
|
|
<xi:include href="wcstrings.xml"/>
|
|
<!-- signals is optional -->
|
|
<xi:include href="signal.xml">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
|
|
<xi:include href="time.xml"/>
|
|
<xi:include href="locale.xml"/>
|
|
<!-- reent.tex contains fixed content and nothing seems to include the .def made in reent/ -->
|
|
|
|
<xi:include href="misc.xml"/>
|
|
<!-- posix is optional -->
|
|
<xi:include href="posix.xml">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
<!-- XXX: stdarg.h and vararg.h are directly described in libc.texinfo -->
|
|
|
|
<!-- iconv is optional -->
|
|
<xi:include href="iconv.xml">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
|
|
<!-- processing should insert index here -->
|
|
<index/>
|
|
|
|
</book>
|