[SCM] libepsilon branch, master, updated. upstream/0.8.1-33-g8ed8ab9

Bas Couwenberg sebastic at xs4all.nl
Wed Jan 15 22:39:17 UTC 2014


The following commit has been merged in the master branch:
commit 4b4cc3c8873dbe94ca070ec8968af068ba9d4376
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Jan 15 21:52:45 2014 +0100

    Add man pages for start_epsilon_nodes and stop_epsilon_nodes.

diff --git a/debian/changelog b/debian/changelog
index 8b54ca6..cc45d76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ libepsilon (0.9.2-1) UNRELEASED; urgency=low
   * Use dh_auto_configure with additional options instead of configure.
   * Don't start description synopsis with an article.
   * Rename libepsilon0 to libepsilon1 to match SONAME.
+  * Add man pages for start_epsilon_nodes and stop_epsilon_nodes.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Wed, 15 Jan 2014 20:58:42 +0100
 
diff --git a/debian/control b/debian/control
index a3def39..2d2729f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,11 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                autotools-dev,
                dh-autoreconf,
-               libpopt-dev
+               libpopt-dev,
+               docbook2x,
+               docbook-xsl,
+               docbook-xml,
+               xsltproc
 Standards-Version: 3.9.2
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/libepsilon.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/libepsilon.git
diff --git a/debian/epsilon-bin.manpages b/debian/epsilon-bin.manpages
new file mode 100644
index 0000000..f04dcd6
--- /dev/null
+++ b/debian/epsilon-bin.manpages
@@ -0,0 +1,2 @@
+debian/man/start_epsilon_nodes.1
+debian/man/stop_epsilon_nodes.1
diff --git a/debian/man/start_epsilon_nodes.1.xml b/debian/man/start_epsilon_nodes.1.xml
new file mode 100644
index 0000000..4499280
--- /dev/null
+++ b/debian/man/start_epsilon_nodes.1.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+<refentry id='start_epsilon_nodes'>
+
+  <refmeta>
+    <refentrytitle>start_epsilon_nodes</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>start_epsilon_nodes</refname>
+    <refpurpose>start EPSILON nodes using DSH</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>start_epsilon_nodes</command>
+      <arg choice='opt'><option><replaceable>file</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id='description'>
+    <title>DESCRIPTION</title>
+    <para>
+      <command>start_epsilon_nodes</command> is a script for starting EPSILON
+      nodes using DSH (Distributed SHell).
+      Host configuration is taken from so called `.epsilon.nodes' file.
+    </para>
+    <para>
+      By default, program checks `.epsilon.nodes' in the current directory.
+      If there is no such file, program tries `.epsilon.nodes' in user`s home
+      directory, i.e. \$HOME/.epsilon.nodes. You can also explicitly specify
+      file location as an argument to `start_epsilon_nodes.pl' script.
+    </para>
+  </refsect1>
+
+  <refsect1 id='options'>
+    <title>OPTIONS</title>
+    <variablelist>
+
+      <varlistentry>
+        <term><option><replaceable>file</replaceable></option></term>
+        <listitem>
+          <para>Path to epsilon nodes configuration file</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </refsect1>
+
+</refentry>
diff --git a/debian/man/stop_epsilon_nodes.1.xml b/debian/man/stop_epsilon_nodes.1.xml
new file mode 100644
index 0000000..87d95db
--- /dev/null
+++ b/debian/man/stop_epsilon_nodes.1.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+<refentry id='stop_epsilon_nodes'>
+
+  <refmeta>
+    <refentrytitle>stop_epsilon_nodes</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>stop_epsilon_nodes</refname>
+    <refpurpose>stop EPSILON nodes using DSH</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv id='synopsis'>
+    <cmdsynopsis>
+      <command>stop_epsilon_nodes</command>
+      <arg choice='opt'><option><replaceable>file</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1 id='description'>
+    <title>DESCRIPTION</title>
+    <para>
+      <command>stop_epsilon_nodes</command> is a script for stopping EPSILON
+      nodes using DSH (Distributed SHell).
+      Host configuration is taken from so called `.epsilon.nodes' file.
+    </para>
+    <para>
+      By default, program checks `.epsilon.nodes' in the current directory.
+      If there is no such file, program tries `.epsilon.nodes' in user`s home
+      directory, i.e. \$HOME/.epsilon.nodes. You can also explicitly specify
+      file location as an argument to `stop_epsilon_nodes.pl' script.
+    </para>
+  </refsect1>
+
+  <refsect1 id='options'>
+    <title>OPTIONS</title>
+    <variablelist>
+
+      <varlistentry>
+        <term><option><replaceable>file</replaceable></option></term>
+        <listitem>
+          <para>Path to epsilon nodes configuration file</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </refsect1>
+
+</refentry>
diff --git a/debian/rules b/debian/rules
index e7c7c61..0913f8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,20 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+MANPAGES:=$(wildcard debian/man/*.*.xml)
+
 %:
 	dh $@ --with autoreconf
 
+override_dh_auto_build:
+	# Create man pages from DocBook XML
+	for x in $(MANPAGES) ; do \
+	  docbook2x-man $$x ; \
+	  mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
+	done
+
+	dh_auto_build
+
 override_dh_install:
 	mv $(CURDIR)/debian/tmp/usr/bin/start_epsilon_nodes.pl $(CURDIR)/debian/tmp/usr/bin/start_epsilon_nodes
 	mv $(CURDIR)/debian/tmp/usr/bin/stop_epsilon_nodes.pl $(CURDIR)/debian/tmp/usr/bin/stop_epsilon_nodes

-- 
A library for wavelet image compression



More information about the Pkg-grass-devel mailing list