summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-12-04 20:35:38 +0000
committerLennart Poettering <lennart@poettering.net>2003-12-04 20:35:38 +0000
commit86f7689a0cc7bd0509ac63f2b1d065ab45e312b6 (patch)
tree96f19ad0a429f8eb016f84bf049d41a904d7ad63
parentec01c8ba94e7f1b9951d1dd36378a9722f05755b (diff)
added DTD
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@52 022f378f-78c4-0310-b860-d162c87e6274
-rw-r--r--man/Makefile.am2
-rw-r--r--man/xmltoman.dtd39
2 files changed, 40 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 2d70af4..7520380 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -20,7 +20,7 @@ man_MANS = waproamd.8 waproamd.conf.5
noinst_DATA = waproamd.8.xml waproamd.conf.5.xml
-EXTRA_DIST = $(man_MANS) waproamd.8.xml.in waproamd.conf.5.xml.in xmltoman.css xmltoman.xsl
+EXTRA_DIST = $(man_MANS) waproamd.8.xml.in waproamd.conf.5.xml.in xmltoman.css xmltoman.xsl xmltoman.dtd
CLEANFILES = waproamd.8.xml waproamd.conf.5.xml
diff --git a/man/xmltoman.dtd b/man/xmltoman.dtd
new file mode 100644
index 0000000..42809db
--- /dev/null
+++ b/man/xmltoman.dtd
@@ -0,0 +1,39 @@
+<!-- $Id: xmltoman.dtd 60 2003-10-20 22:05:22Z lennart $ -->
+
+<!--
+ This file is part of ifplugd.
+
+ ifplugd 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.
+
+ ifplugd 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 ifplugd; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+-->
+
+<!ELEMENT manpage (synopsis | description | section | options | seealso)*>
+<!ATTLIST manpage name CDATA #REQUIRED section CDATA #REQUIRED desc CDATA #IMPLIED>
+<!ELEMENT arg (#PCDATA)>
+<!ELEMENT p (#PCDATA | arg | url | manref | opt | file )*>
+<!ELEMENT synopsis (cmd | p)+>
+<!ELEMENT description (p)+>
+<!ELEMENT section (p | option)*>
+<!ATTLIST section name CDATA #REQUIRED>
+<!ELEMENT option (#PCDATA | p | optdesc)*>
+<!ELEMENT optdesc (#PCDATA | p )*>
+<!ELEMENT cmd (#PCDATA | arg)*>
+<!ELEMENT options (p | option)*>
+<!ELEMENT seealso (p)*>
+<!ELEMENT opt (#PCDATA)>
+<!ELEMENT file (#PCDATA)>
+<!ELEMENT manref EMPTY>
+<!ATTLIST manref name CDATA #REQUIRED section CDATA #REQUIRED href CDATA #IMPLIED>
+<!ELEMENT url EMPTY>
+<!ATTLIST url href CDATA #REQUIRED>