Attached is is the world's ugliest shell script to convert the *.sgml.in
files to html.

The doc directory hasn't got a makefile in it, so there's nothing to add
an HTML output path to.  If you cd in there and try to convert stuff
directly (as was suggested) you have to chop out @builddir@ from the
paths (which the above ugly sed does).

This documentation directory seems badly bit-rotted.  Part of what this
script does is update the docbook templates to a version still available
on the website.

The attached patch fixes two build breaks in the sgml files:

lxc-checkpoint.sgml.in
Element Title in namespace '' encountered in refsect1, but no template
matches.

lxc-restart.sgml:58: parser error : AttValue: " or ' expected
      <arg
choice=req><option>--name=<replaceable>NAME</replaceable></option></a
                  ^


Attachment: woot.sh
Description: Bourne shell script

diff --git a/doc/lxc-checkpoint.sgml.in b/doc/lxc-checkpoint.sgml.in
index 3b27dd2..bf0efd9 100644
--- a/doc/lxc-checkpoint.sgml.in
+++ b/doc/lxc-checkpoint.sgml.in
@@ -165,7 +165,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   </refsect1>
 
   <refsect1>
-    <Title>Notes</Title>
+    <title>Notes</title>
     <para>Actually, this command does not operate. Its description
     helps to define a CLI api for future Checkpoint / Restart
     solution</para>
diff --git a/doc/lxc-restart.sgml.in b/doc/lxc-restart.sgml.in
index 7dc0b74..eb556d9 100644
--- a/doc/lxc-restart.sgml.in
+++ b/doc/lxc-restart.sgml.in
@@ -53,7 +53,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 	config_file</optional><optional>-s KEY=VAL</optional>
 	--statefile=<replaceable>FILE</replaceable>
 	--statefd=<replaceable>FD</replaceable></command>
-      <arg choice=req><option>--name=<replaceable>NAME</replaceable></option></arg>
+      <arg choice="req"><option>--name=<replaceable>NAME</replaceable></option></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -177,7 +177,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    </refsect1>
 
   <refsect1>
-    <Title>Notes</Title>
+    <title>Notes</title>
     <para>Actually, this command does not operate. Its description
     helps to define a CLI api for future Checkpoint / Restart
     solution</para>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to