[Pkg-ocaml-maint-commits] [SCM] ocamlgraph packaging branch, master, updated. debian/1.0-1-9-g499a849
Mehdi Dogguy
dogguy at pps.jussieu.fr
Thu May 14 17:01:29 UTC 2009
The following commit has been merged in the master branch:
commit 910a95bb4f1f6455400a54625e49dbebf8884189
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Thu May 14 18:39:30 2009 +0200
Add a manpage for ocamlgraph-viewer
diff --git a/debian/ocamlgraph-editor.links b/debian/ocamlgraph-editor.links
index b95cd88..6be4be6 100644
--- a/debian/ocamlgraph-editor.links
+++ b/debian/ocamlgraph-editor.links
@@ -1,5 +1,4 @@
usr/share/man/man1/ocamlgraph-editor.1.gz usr/share/man/man1/ocamlgraph-editor.byte.1.gz
usr/share/man/man1/ocamlgraph-editor.1.gz usr/share/man/man1/ocamlgraph-editor.opt.1.gz
-#TODO: reactivate when ocamlgraph will be ready
-#usr/share/man/man1/ocamlgraph-viewer.1.gz usr/share/man/man1/ocamlgraph-viewer.byte.1.gz
-#usr/share/man/man1/ocamlgraph-viewer.1.gz usr/share/man/man1/ocamlgraph-viewer.opt.1.gz
+usr/share/man/man1/ocamlgraph-viewer.1.gz usr/share/man/man1/ocamlgraph-viewer.byte.1.gz
+usr/share/man/man1/ocamlgraph-viewer.1.gz usr/share/man/man1/ocamlgraph-viewer.opt.1.gz
diff --git a/debian/ocamlgraph-editor.manpages b/debian/ocamlgraph-editor.manpages
index 102fd19..a853357 100644
--- a/debian/ocamlgraph-editor.manpages
+++ b/debian/ocamlgraph-editor.manpages
@@ -1 +1,2 @@
debian/xml-man/en/ocamlgraph-editor.1
+debian/xml-man/en/ocamlgraph-viewer.1
diff --git a/debian/rules b/debian/rules
index 877766a..5de7c07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,7 +53,8 @@ DEB_DH_GENCONTROL_ARGS += -VF:OCamlInterp="ocaml-base-nox-$(OCAML_ABI), liblablg
PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg
-DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/ocamlgraph-editor.xml
+DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/ocamlgraph-editor.xml \
+ $(CURDIR)/debian/xml-man/en/ocamlgraph-viewer.xml
DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml \
$(CURDIR)/debian/xml-man/en/refentryinfo.xml
diff --git a/debian/xml-man/en/license.xml b/debian/xml-man/en/ocamlgraph-viewer.xml
similarity index 61%
copy from debian/xml-man/en/license.xml
copy to debian/xml-man/en/ocamlgraph-viewer.xml
index 5b3e639..58ce48a 100644
--- a/debian/xml-man/en/license.xml
+++ b/debian/xml-man/en/ocamlgraph-viewer.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refsect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
- <!ENTITY debian "Debian GNU/Linux">
+ <!ENTITY debian "Debian GNU/Linux">
+ <!ENTITY dhprg "<command>ocamlgraph-viewer</command>">
]>
<!--**********************************************************************-->
-<!-- License include for manpage -->
+<!-- ocamlgraph-editor manpage -->
<!-- -->
<!-- Copyright (C) 2008 Sylvain Le Gall <gildor at debian.org> -->
<!-- -->
@@ -28,21 +29,38 @@
<!-- Contact: gildor at debian.org -->
<!--**********************************************************************-->
-<refsect1>
- <title>LICENSE</title>
-
- <para>
- This manual page was written by
- <personname>
- <firstname>Sylvain</firstname>
- <surname>Le Gall</surname>
- </personname>
- <email>gildor at debian.org</email>
- for the &debian; system (but may be used by others).
- Permission is granted to copy, distribute and/or modify this document
- under the terms of the <acronym>GNU</acronym> Lesser General Public
- License, Version 2.1 or any later version published by the Free
- Software Foundation; considering as source code all the file that
- enable the production of this manpage.
- </para>
-</refsect1>
+<refentry>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentryinfo.xml"/>
+
+ <refmeta>
+ <refentrytitle>OCAMLGRAPH-VIEWER</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>ocamlgraph-viewer</refname>
+
+ <refpurpose>GTK-based graph viewer.</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ &dhprg;
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the &dhprg; command.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.</para>
+
+ <para>&dhprg; is an OCaml and GTK based graph viewer and has no options.</para>
+
+ </refsect1>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+</refentry>
--
ocamlgraph packaging
More information about the Pkg-ocaml-maint-commits
mailing list