[Python-modules-commits] r15215 - in packages/django-celery/trunk/debian (4 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Thu Dec 30 21:34:46 UTC 2010


    Date: Thursday, December 30, 2010 @ 21:34:45
  Author: fladi-guest
Revision: 15215

Build manpage for djcelerymon.

Added:
  packages/django-celery/trunk/debian/manpage.djcelerymon.sgml
  packages/django-celery/trunk/debian/python-django-celery.manpages
Modified:
  packages/django-celery/trunk/debian/control
  packages/django-celery/trunk/debian/rules

Modified: packages/django-celery/trunk/debian/control
===================================================================
--- packages/django-celery/trunk/debian/control	2010-12-30 17:29:48 UTC (rev 15214)
+++ packages/django-celery/trunk/debian/control	2010-12-30 21:34:45 UTC (rev 15215)
@@ -4,6 +4,7 @@
 Maintainer: Fladischer Michael <FladischerMichael at fladi.at>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50~), 
+               docbook-to-man,
                python-all (>= 2.6), 
                python-celery,
                python-django,

Added: packages/django-celery/trunk/debian/manpage.djcelerymon.sgml
===================================================================
--- packages/django-celery/trunk/debian/manpage.djcelerymon.sgml	                        (rev 0)
+++ packages/django-celery/trunk/debian/manpage.djcelerymon.sgml	2010-12-30 21:34:45 UTC (rev 15215)
@@ -0,0 +1,253 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Michael</firstname>">
+  <!ENTITY dhsurname   "<surname>Fladischer</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>11 March 2010</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>fladischermichael at fladi.at</email>">
+  <!ENTITY dhusername  "fladi">
+  <!ENTITY dhucpackage "<refentrytitle>DJCELERYMON</refentrytitle>">
+  <!ENTITY dhpackage   "djcelerymon">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2010</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Django Admin Monitor</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> is a program that can be used by 
+    non-Django users, and it runs both a web server and a snapshot camera by 
+    starting a Django Admin instance and celerycam in the same process.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>This program follows the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>-v VERBOSITY</option>
+          <option>--verbosity=VERBOSITY</option>
+        </term>
+        <listitem>
+          <para>Verbosity level; 0=minimal output, 1=normal output,2=all 
+          output.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--settings=SETTINGS</option>
+        </term>
+        <listitem>
+          <para>The Python path to a settings module, e.g. 
+          "myproject.settings.main". If this isn't provided, the 
+          DJANGO_SETTINGS_MODULE environment variable will be used.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--pythonpath=PYTHONPATH</option>
+        </term>
+        <listitem>
+          <para>A directory to add to the Python path, e.g.
+          "/home/djangoprojects/myproject".</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--traceback</option>
+        </term>
+        <listitem>
+          <para>Print traceback on exception.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--noreload</option>
+        </term>
+        <listitem>
+          <para>Tells Django to NOT use the auto-reloader.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--adminmedia=ADMIN_MEDIA_PATH</option>
+        </term>
+        <listitem>
+          <para>Specifies the directory from which to serve admin media.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-d</option>
+          <option>--dump</option>
+        </term>
+        <listitem>
+          <para>Dump events to stdout.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-c CAMERA</option>
+          <option>--camera=CAMERA</option>
+        </term>
+        <listitem>
+          <para>Camera class to take event snapshots with.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-F</option>
+          <option>--frequency=FREQUENCY</option>
+          <option>--freq=FREQUENCY</option>
+        </term>
+        <listitem>
+          <para>Recording: Snapshot frequency.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-r MAXRATE</option>
+          <option>--maxrate=MAXRATE</option>
+        </term>
+        <listitem>
+          <para>Recording: Shutter rate limit (e.g. 10/m).</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-l LOGLEVEL</option>
+          <option>--loglevel=LOGLEVEL</option>
+        </term>
+        <listitem>
+          <para>Loglevel. Default is WARNING.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-f LOGFILE</option>
+          <option>--logfile=LOGFILE</option>
+        </term>
+        <listitem>
+          <para>Log file. Default is &lt;stderr&gt;.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show program's version number and exit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show help message and exit.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>celerycam (1).</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->

Added: packages/django-celery/trunk/debian/python-django-celery.manpages
===================================================================
--- packages/django-celery/trunk/debian/python-django-celery.manpages	                        (rev 0)
+++ packages/django-celery/trunk/debian/python-django-celery.manpages	2010-12-30 21:34:45 UTC (rev 15215)
@@ -0,0 +1 @@
+djcelerymon.1

Modified: packages/django-celery/trunk/debian/rules
===================================================================
--- packages/django-celery/trunk/debian/rules	2010-12-30 17:29:48 UTC (rev 15214)
+++ packages/django-celery/trunk/debian/rules	2010-12-30 21:34:45 UTC (rev 15215)
@@ -2,6 +2,15 @@
 %:
 	dh $@
 
+
+.PHONY: override_dh_installman
+override_dh_installman:
+	set -e ; \
+	for doc in djcelerymon; do \
+	  docbook-to-man debian/manpage.$$doc.sgml > $$doc.1; \
+	done
+	dh_installman
+
 .PHONY: override_dh_installdocs
 override_dh_installdocs:
 	sphinx-build -b html -d .build/.doctrees -N docs .build/html




More information about the Python-modules-commits mailing list