Compile fine with the makefile.
authorSylvain Le Gall <sylvain.le-gall@polytechnique.org>
Sat, 18 Oct 2003 19:23:53 +0000 (19:23 +0000)
committerSylvain Le Gall <sylvain.le-gall@polytechnique.org>
Sat, 18 Oct 2003 19:23:53 +0000 (19:23 +0000)
Sylvain LE GALL

Makefile [new file with mode: 0644]
README [new file with mode: 0644]
appendix-resources.xml
appendix-transition.xml
authors.xml
chapter-liblocal.xml
chapter-libpack.xml
chapter-ocaml.xml
chapter-progpack.xml
legal.xml
ocaml_packaging_policy.xml

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..95c137b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+%.html: %.xml
+       xsltproc --nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl \
+       $^ > $@
+
+all: ocaml_packaging_policy.html 
+
+clean:
+       $(RM) ocaml_packaging_policy.html
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..64b5e6d
--- /dev/null
+++ b/README
@@ -0,0 +1,20 @@
+-----------------------
+*                     *
+*    HOWTO-XML        *
+*    DOCBOOK          *
+*                     *
+*                     *
+-----------------------
+
+
+If you are interested in writing in the policy, you should 
+take a look at 
+
+http://docbook.sourceforge.net/
+http://www.oasis-open.org/docbook/documentation/reference/html/docbook.html
+
+When you finish write your part, just do a make clean && make all. It will result 
+in having ocaml_packaging_policy.html...
+
+Sylvain LE GALL
+Sat, 18 October 2003
index 2b5d411677ad3e201bb22e772e36fc01c50d6ea9..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-<?xml version="1.0"?>
index 4598ae2261a5d949667be4e5dc091d0eef6e9fd8..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,2 +1 @@
-<?xml version="1.0"?>
 
index 7fda793343b86fa549aaf2d425b07459d96ab7d9..986a59bed15eab9d404350464f5684e8c0053b73 100644 (file)
@@ -1,4 +1,3 @@
-<?xml version="1.0"?>
   <author>
    <firstname>Sven</firstname>
    <surname>Luther</surname>
index fed011fb6500977d1fd5859e624ad1074a1a54d9..ddad9a85e1769488ccc82bb600e94de9fb94f391 100644 (file)
@@ -1,6 +1,3 @@
-<?xml version="1.0"?>
-
-   <sect id="liblocal-camlp4">
+   <section id="liblocal-camlp4">
     <title>Camlp4 files</title>
-   </sect>
-
+   </section>
index 3459a75352ef33c59a83b5fe29b0d97ae28d0881..aae721775669e53dfe104b08671d2439b338a4b5 100644 (file)
@@ -1,6 +1,3 @@
-<?xml version="1.0"?>
-   <sect id="libpack-camlp4">
+   <section id="libpack-camlp4">
     <title>Camlp4 files</title>
-   </sect>
-
+   </section>
index 163ed7e813653e15d03530b8afbd31a47b802f0b..1f6991d84c24c33328af6458edd1f660717f448c 100644 (file)
@@ -1,5 +1,4 @@
-<?xml version="1.0"?>
-   <sect id="versions">
+   <section id="versions">
     <title>Version</title>
     <para>
     At any given time, the package <application>ocaml</application>
@@ -13,9 +12,9 @@
     same version of Ocaml.
     </para>
     
-   </sect>
+   </section>
    
-   <sect id="base">
+   <section id="base">
     <title>Base Package</title>
     <para>
     In order to have a minimal installation, a virtual package 
@@ -29,9 +28,9 @@
     incompatible changes made within the same version of Ocaml.
     </para>
 
-   </sect>
+   </section>
    
-   <sect id="files">
+   <section id="files">
     <title>File terminology for Ocaml packaging</title>
 
     <para>
    
     <para>
      There is a convention considering that native executable should be 
-     called <var>progname</var>.opt and bytecoded one 
-     <var>progname</var>.byte. When packaging, only <var>progname</var> is 
-     taken in account.
+     called <application>progname</application>.opt and bytecoded one 
+     <application>progname</application>.byte. When packaging, only 
+     <application>progname</application> is taken in account.
     </para>
 
     <para>
      For easying library management, the Ocaml Task Force used the 
      <application>ocamlfind</application> library management scheme.
-     This scheme includes a file named <emph>META</emph> which holds
+     This scheme includes a file named <filename>META</filename> which holds
      all the library possibility. This is the configuration file for
      handling library ( see XXX ).
     </para>
-   </sect>
+   </section>
    
-   <sect id="path">
+   <section id="path">
     <title>Library paths</title>
     <para>
     Ocaml will search library in two different location, referred to
-    as <var>local</var> which hold user installed library and as 
-    <var>core</var> in which packaged modules stood.
+    as <varname>local</varname> which hold user installed library and as 
+    <varname>core</varname> in which packaged modules stood.
     </para>
 
     <para>
     By default, ocaml will look for modules in this order :
     <variablelist>
      <varlistentry>
-      <term><var>local</var></term>
-      <listitem>
-      /usr/local/lib/ocaml/<var>ocaml_version</var>/
-      /usr/local/lib/ocaml/<var>ocaml_version</var>/
-      </listitem>
-   </sect>
+      <term><varname>local</varname></term>
+      <simplelist>
+             <listitem><filename>/usr/local/lib/ocaml/&ocaml-version;/</filename></listitem>
+             <listitem><filename>/usr/local/lib/ocaml/&ocaml-version;/</filename></listitem>
+      </simplelist>
+     </varlistentry>
+    </variablelist>
+    </para>
+   </section>
 
-    <sect id="documentation">
+    <section id="documentation">
     <title>Documentation</title>
     <para>
     </para>
-   </sect>
+   </section>
index 4598ae2261a5d949667be4e5dc091d0eef6e9fd8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,2 +0,0 @@
-<?xml version="1.0"?>
-
index fe0affbc1bd026116cfa199918627e92e68def69..e2ac36807ef44ab211564886bc9be02fda39a97e 100644 (file)
--- a/legal.xml
+++ b/legal.xml
@@ -1,4 +1,3 @@
-<?xml version="1.0"?>
   <copyright>
    <year>2002</year><year>2003</year>
    <holder>Sven LUTHER, Stefano ZACCHIROLI and Sylvain LE GALL</holder>
@@ -19,8 +18,7 @@
          A copy of the GNU General Public License is available as
          <tt>/usr/share/common-licenses/GPL</tt> in the Debian GNU/Linux
          distribution or on the World Wide Web at 
-         <url id="http://www.gnu.org/copyleft/gpl.html"
-         name="The GNU Public Licence">.
+         <ulink url="http://www.gnu.org/copyleft/gpl.html">The GNU Public Licence</ulink>.
     </para>
     <para>
          You can also obtain it by writing to the
@@ -28,4 +26,4 @@
          Boston, MA 02111-1307, USA.
     </para>
    </legalnotice>
-
+  </copyright>
index 749fe1a80b238c7cbdfc2d3834567000b2d32b49..7d3eeb089adf6636441bb35c6e266076fa16c608 100644 (file)
@@ -1,21 +1,23 @@
 <?xml version="1.0"?>
 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-     "dtd/docbook-xml/4.2/docbookx.dtd" [
-<!ENTITY ocaml-pkg "<application>ocaml-<var>upstream_version</var>-<var>package_compatibility</var></application>">
-<!ENTITY ocaml-base-pkg "<application>ocaml-base-<var>upstream_version</var>-<var>package_compatibility</var></application>">
-<!ENTITY authors             SYSTEM authors.xml>
-<!ENTITY legal               SYSTEM legal.xml>
-<!ENTITY chapter-ocaml       SYSTEM chapter-ocaml.xml>
-<!ENTITY chapter-liblocal    SYSTEM chapter-liblocal.xml>
-<!ENTITY chapter-libbpack    SYSTEM chapter-libpack.xml>
-<!ENTITY chapter-progpack    SYSTEM chapter-progpack.xml>
-<!ENTITY appendix-transition SYSTEM appendix-transition.xml>
-<!ENTITY appendix-resources  SYSTEM appendix-resources.xml>
+     "/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd" [
+ <!ENTITY ocaml-version "3.07">
+ <!ENTITY ocaml-compat  "1">
+ <!ENTITY ocaml-pkg      "<application>ocaml-&ocaml-version;-&ocaml-compat;</application>">
+ <!ENTITY ocaml-base-pkg "<application>ocaml-base-&ocaml-version;-&ocaml-compat;</application>">
+ <!ENTITY authors             SYSTEM "authors.xml">
+ <!ENTITY legal               SYSTEM "legal.xml">
+ <!ENTITY chapter-ocaml       SYSTEM "chapter-ocaml.xml">
+ <!ENTITY chapter-liblocal    SYSTEM "chapter-liblocal.xml">
+ <!ENTITY chapter-libpack     SYSTEM "chapter-libpack.xml">
+ <!ENTITY chapter-progpack    SYSTEM "chapter-progpack.xml">
+ <!ENTITY appendix-transition SYSTEM "appendix-transition.xml">
+ <!ENTITY appendix-resources  SYSTEM "appendix-resources.xml">
 ]>
 <article>
  <articleinfo>
   <title>Debian Ocaml Policy</title>
-  <subtitle>For Objective Caml version 3.06</subtitle>
+  <subtitle>For Objective Caml version &ocaml-version;</subtitle>
   <releaseinfo>Revision 0.1</releaseinfo>
   &authors;
   &legal;