Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-06-24 23:50:15 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2016-07-04 16:17:10 +0300
commit0b4cbd2fb82ba588a82c148bd723e46dea05d523 (patch)
treefccdea463458c2cb5536c151b839ccfa42795eb5 /newlib/libc/libc.in.xml
parent85db21730beb3bb40723fa9b9f2dea5016fc4b4c (diff)
Make newlib manpages (v3)
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
Diffstat (limited to 'newlib/libc/libc.in.xml')
-rw-r--r--newlib/libc/libc.in.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/newlib/libc/libc.in.xml b/newlib/libc/libc.in.xml
new file mode 100644
index 000000000..972696189
--- /dev/null
+++ b/newlib/libc/libc.in.xml
@@ -0,0 +1,42 @@
+<?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>