From 22daaf6b7fc3e12a0605a7bb31aba148ed5ba936 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 13 Sep 2003 00:43:14 +0000 Subject: XSL man pages git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@41 2bf48fe7-cfc1-0310-909f-d9042e1e0fef --- man/Makefile.am | 32 +++++++++---- man/ifplugd.8.xml.in | 5 +- man/ifplugd.conf.5.xml.in | 5 +- man/ifstatus.8.xml.in | 7 +-- man/man.css | 30 ++++++++++++ man/man.xsl | 120 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 183 insertions(+), 16 deletions(-) create mode 100644 man/man.css create mode 100644 man/man.xsl (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index 4674296..742e3bf 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -18,19 +18,33 @@ man_MANS = ifplugd.8 ifplugd.conf.5 ifstatus.8 -EXTRA_DIST = $(man_MANS) ifplugd.8.xml.in ifplugd.conf.5.xml.in ifstatus.8.xml.in +noinst_DATA = ifplugd.8.xml ifplugd.conf.5.xml ifstatus.8.xml -if USE_XMLTOMAN +EXTRA_DIST = $(man_MANS) ifplugd.8.xml.in ifplugd.conf.5.xml.in ifstatus.8.xml.in man.css man.xsl -CLEANFILES = $(man_MANS) +CLEANFILES = ifplugd.8.xml ifplugd.conf.5.xml ifstatus.8.xml -ifplugd.8: ifplugd.8.xml.in Makefile - sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< | xmltoman - > $@ +ifplugd.8.xml: ifplugd.8.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ -ifplugd.conf.5: ifplugd.conf.5.xml.in Makefile - sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< | xmltoman - > $@ +ifplugd.conf.5.xml: ifplugd.conf.5.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ -ifstatus.8: ifstatus.8.xml.in Makefile - sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< | xmltoman - > $@ +ifstatus.8.xml: ifstatus.8.xml.in Makefile + sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +if USE_XMLTOMAN + +CLEANFILES += $(man_MANS) + +ifplugd.8: ifplugd.8.xml Makefile + xmltoman $< > $@ + +ifplugd.conf.5: ifplugd.conf.5.xml Makefile + xmltoman $< > $@ + +ifstatus.8: ifstatus.8.xml Makefile + xmltoman $< > $@ + endif + diff --git a/man/ifplugd.8.xml.in b/man/ifplugd.8.xml.in index ed5dddd..d259608 100644 --- a/man/ifplugd.8.xml.in +++ b/man/ifplugd.8.xml.in @@ -1,7 +1,8 @@ - + + - + + + + + + + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + + + + + + <xsl:value-of select="@name"/>(<xsl:value-of select="@section"/>) + + + + +

Name

+

+ + - + +

+ + + +
+ + +

+ +

+
+ + +

+ +

+
+ + + + + + + + + + + + + + +
+ +
+
+ + +

Synopsis

+ +
+ + +

Synopsis

+ +
+ + +

Description

+ +
+ + +

Options

+ +
+ + +

+ +
+ + +
+
+ + + + + () + + + () + + + + + + + + + -- cgit