The following commit has been merged in the master branch:
commit 20b7e942fc328b85a05327948f0226ac8917df93
Author: Sylvain Le Gall <gil...@debian.org>
Date:   Mon Apr 4 17:10:02 2011 +0200

    Move MANUAL.mkd to package oasis and write a manpage

diff --git a/debian/liboasis-ocaml-doc.install 
b/debian/liboasis-ocaml-doc.install
index 51319f7..e58d728 100644
--- a/debian/liboasis-ocaml-doc.install
+++ b/debian/liboasis-ocaml-doc.install
@@ -1 +1 @@
-usr/share/doc/liboasis-ocaml-doc
+usr/share/doc/liboasis-ocaml-doc/oasis
diff --git a/debian/oasis.1 b/debian/oasis.1
new file mode 100644
index 0000000..523b45f
--- /dev/null
+++ b/debian/oasis.1
@@ -0,0 +1,24 @@
+.TH OASIS 1 "March 4, 2011" "oasis manpage"
+.SH NAME
+.PP
+oasis - generates a complete build system for OCaml libraries and
+applications.
+.SH SYNOPSIS
+.PP
+oasis [command] options\&...
+.SH DESCRIPTION
+.PP
+This program allows to manipulate OASIS enabled package,
+i.e.\ package that contains an \f[B]_oasis\f[] file.
+It is made of several subcommands that provide features around this
+file.
+Some subcommands require the installation of third party plugins.
+.PP
+To get a complete list of subcommands and their options, run
+\f[B]oasis\ help\f[].
+.SH SEE ALSO
+.PP
+OASIS user manual \f[B]/usr/share/doc/oasis/MANUAL.mkd.gz\f[]
+.SH AUTHORS
+Sylvain Le Gall.
+
diff --git a/debian/liboasis-ocaml-doc.doc-base.2 b/debian/oasis.doc-base.1
similarity index 62%
rename from debian/liboasis-ocaml-doc.doc-base.2
rename to debian/oasis.doc-base.1
index 42b44a4..549912e 100644
--- a/debian/liboasis-ocaml-doc.doc-base.2
+++ b/debian/oasis.doc-base.1
@@ -3,4 +3,4 @@ Title: OASIS User Manual
 Section: Programming/OCaml
 
 Format: Text 
-Files: /usr/share/doc/liboasis-ocaml-doc/MANUAL.mkd.gz
+Files: /usr/share/doc/oasis/MANUAL.mkd.gz
diff --git a/debian/oasis.install b/debian/oasis.install
index e772481..477da5d 100644
--- a/debian/oasis.install
+++ b/debian/oasis.install
@@ -1 +1,2 @@
 usr/bin
+usr/share/doc/liboasis-ocaml-doc/MANUAL.mkd usr/share/doc/oasis/
diff --git a/debian/oasis.manpages b/debian/oasis.manpages
new file mode 100644
index 0000000..6e84e78
--- /dev/null
+++ b/debian/oasis.manpages
@@ -0,0 +1 @@
+debian/oasis.1
diff --git a/debian/oasis.mkd b/debian/oasis.mkd
new file mode 100644
index 0000000..4567c99
--- /dev/null
+++ b/debian/oasis.mkd
@@ -0,0 +1,24 @@
+% OASIS(1) oasis manpage
+% Sylvain Le Gall 
+% March 4, 2011
+
+# NAME
+
+oasis - generates a complete build system for OCaml libraries and applications.
+
+# SYNOPSIS
+
+oasis [command] options...
+
+# DESCRIPTION
+
+This program allows to manipulate OASIS enabled package, i.e. package that
+contains an `_oasis` file. It is made of several subcommands that provide
+features around this file. Some subcommands require the installation of
+third party plugins.
+
+To get a complete list of subcommands and their options, run `oasis help`.
+
+# SEE ALSO
+
+OASIS user manual `/usr/share/doc/oasis/MANUAL.mkd.gz`
diff --git a/debian/rules b/debian/rules
index 74786fe..2a2478d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,3 +42,6 @@ override_dh_install:
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:
        ocaml setup.ml -distclean
+
+debian/oasis.1: debian/oasis.mkd
+       pandoc -s -w man $^ -o $@

-- 
oasis packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to