From 3120d2fecb926fedc4db4d44ff7df025b14355d4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Jan 2004 22:41:31 +0000 Subject: many fixes git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@13 e0b13411-74c3-0310-b366-a0654dd0340f --- man/Makefile.am | 15 +++++-- man/ivcall.1.xml.in | 5 ++- man/xmltoman.css | 30 +++++++++++++ man/xmltoman.dtd | 39 +++++++++++++++++ man/xmltoman.xsl | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 203 insertions(+), 6 deletions(-) create mode 100644 man/xmltoman.css create mode 100644 man/xmltoman.dtd create mode 100644 man/xmltoman.xsl (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index 10da8b5..883aaa9 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -18,13 +18,20 @@ man_MANS = ivcall.1 -EXTRA_DIST = $(man_MANS) ivcall.1.xml.in +noinst_DATA = ivcall.1.xml + +EXTRA_DIST = $(man_MANS) ivcall.1.xml.in xmltoman.css xmltoman.xsl xmltoman.dtd + +CLEANFILES = ivcall.1.xml + +ivcall.1.xml: ivcall.1.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) +CLEANFILES += $(man_MANS) -ivcall.1: ivcall.1.xml.in Makefile - sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' $< | xmltoman - > $@ +ivcall.1: ivcall.1.xml Makefile + xmltoman $< > $@ endif diff --git a/man/ivcall.1.xml.in b/man/ivcall.1.xml.in index c861f27..1553b04 100644 --- a/man/ivcall.1.xml.in +++ b/man/ivcall.1.xml.in @@ -1,5 +1,6 @@ - + + @@ -99,7 +100,7 @@

ivcall was written by Lennart Poettering <@PACKAGE_BUGREPORT@>. ivcall is available at + href="@PACKAGE_URL@"/>

diff --git a/man/xmltoman.css b/man/xmltoman.css new file mode 100644 index 0000000..fc3cf17 --- /dev/null +++ b/man/xmltoman.css @@ -0,0 +1,30 @@ +/* $Id$ */ + +/*** + This file is part of ivcall. + + ivcall is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your + option) any later version. + + ivcall is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with ivcall; if not, write to the Free Software Foundation, + Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +***/ + +body { color: black; background-color: white; margin: 0.5cm; } +a:link, a:visited { color: #900000; } +h1 { text-transform:uppercase; font-size: 18pt; color: #00009F; } +p { margin-left:1cm; margin-right:1cm; } +.cmd { font-family:monospace; } +.file { font-family:monospace; } +.arg { text-transform:uppercase; font-family:monospace; font-style: italic; } +.opt { font-family:monospace; font-weight: bold; } +.manref { font-family:monospace; } +.option .optdesc { margin-left:2cm; } diff --git a/man/xmltoman.dtd b/man/xmltoman.dtd new file mode 100644 index 0000000..e235e77 --- /dev/null +++ b/man/xmltoman.dtd @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/man/xmltoman.xsl b/man/xmltoman.xsl new file mode 100644 index 0000000..1927ff7 --- /dev/null +++ b/man/xmltoman.xsl @@ -0,0 +1,120 @@ + + + + + + + + <!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