[Python-modules-commits] r29825 - in pysrs/trunk/debian (4 files)
hefee-guest at users.alioth.debian.org
hefee-guest at users.alioth.debian.org
Sun Jul 20 12:33:48 UTC 2014
Date: Sunday, July 20, 2014 @ 12:33:47
Author: hefee-guest
Revision: 29825
build manpages out of rst files
Modified:
pysrs/trunk/debian/rules
Deleted:
pysrs/trunk/debian/manpages/envfrom2srs.1
pysrs/trunk/debian/manpages/owncloud.1.rst
pysrs/trunk/debian/manpages/srs2envtol.1
Deleted: pysrs/trunk/debian/manpages/envfrom2srs.1
===================================================================
--- pysrs/trunk/debian/manpages/envfrom2srs.1 2014-07-20 09:35:53 UTC (rev 29824)
+++ pysrs/trunk/debian/manpages/envfrom2srs.1 2014-07-20 12:33:47 UTC (rev 29825)
@@ -1,71 +0,0 @@
-.\" Man page generated from reStructuredText.
-.
-.TH ENVFROM2SRS 1 "" "1.0" ""
-.SH NAME
-envfrom2srs \- rewrites the envelope sender address in view of remailing it
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
-.SH SYNOPSIS
-.sp
-\fIenvfrom2srs\fP [\fIfwdomain\fP] \fIemail\fP
-.SH DESCRIPTION
-.sp
-Rewrite the \fIemail\fP with an SRS encoded version.
-\fIfwdomain\fP is used as forward domain.
-.sp
-\fBWARNING:\fP
-.INDENT 0.0
-.INDENT 3.5
-Use only if absolutely necessary. It is \fIvery\fP inefficient and a security risk.
-.UNINDENT
-.UNINDENT
-.SH CONFIG FILE
-.sp
-The programm ueses \fI/etc/mail/pysrs.cfg\fP, if available:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-[srs]
-secret = \(aqshhhh!\(aq
-maxage = 8
-hashlength = 8
-fwdomain = \(aqmydomain.com\(aq
-separator = \(aq=\(aq
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.SH SEE ALSO
-.sp
-\fBsrs2envtol\fP(1)
-
-Datum: 2013-03-17
-.\" Generated by docutils manpage writer.
-.
Deleted: pysrs/trunk/debian/manpages/owncloud.1.rst
===================================================================
--- pysrs/trunk/debian/manpages/owncloud.1.rst 2014-07-20 09:35:53 UTC (rev 29824)
+++ pysrs/trunk/debian/manpages/owncloud.1.rst 2014-07-20 12:33:47 UTC (rev 29825)
@@ -1,22 +0,0 @@
-
-envfrom2srs(1)
---------------
-
-SYNOPSIS
-========
-*envfrom2srs* [`fwdomain`] `email`
-
-
-DESCRIPTION
-===========
-Rewrite the `email` with an SRS encoded version.
-`fwdomain` is used as forward domain.
-
-
-Use only if absolutely necessary. It is *very* inefficient and a security risk.
-
-
-SEE ALSO
-========
-:manpage:`srs2envtol(1)`
-
Deleted: pysrs/trunk/debian/manpages/srs2envtol.1
===================================================================
--- pysrs/trunk/debian/manpages/srs2envtol.1 2014-07-20 09:35:53 UTC (rev 29824)
+++ pysrs/trunk/debian/manpages/srs2envtol.1 2014-07-20 12:33:47 UTC (rev 29825)
@@ -1,69 +0,0 @@
-.\" Man page generated from reStructuredText.
-.
-.TH SRS2ENVTOL 1 "" "1.0" ""
-.SH NAME
-srs2envtol \- Translate a SRS encoded email address back
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
-.SH SYNOPSIS
-.sp
-\fIsrs2envtol\fP \fIsrsemail\fP
-.SH DESCRIPTION
-.sp
-Reverses \fIsrsemail\fP back to there normal email address. It does the opposite of \fBenvfrom2srs\fP\&.
-.sp
-\fBWARNING:\fP
-.INDENT 0.0
-.INDENT 3.5
-Use only if absolutely necessary. It is \fIvery\fP inefficient and a security risk.
-.UNINDENT
-.UNINDENT
-.SH OPTIONS
-.sp
-The programm ueses \fI/etc/mail/pysrs.cfg\fP, if available:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-[srs]
-secret = \(aqshhhh!\(aq
-maxage = 8
-hashlength = 8
-separator = \(aq=\(aq
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.SH SEE ALSO
-.sp
-\fBenvfrom2srs\fP(1)
-
-Datum: 2014-03-17
-.\" Generated by docutils manpage writer.
-.
Modified: pysrs/trunk/debian/rules
===================================================================
--- pysrs/trunk/debian/rules 2014-07-20 09:35:53 UTC (rev 29824)
+++ pysrs/trunk/debian/rules 2014-07-20 12:33:47 UTC (rev 29825)
@@ -1,9 +1,21 @@
#!/usr/bin/make -f
+MANPAGES:=$(CURDIR)/debian/manpages/envfrom2srs.1 $(CURDIR)/debian/manpages/srs2envtol.1
+
%:
dh $@ --with python2 --buildsystem=python_distutils
+override_dh_auto_build: $(MANPAGES)
+ dh_auto_install --buildsystem=python_distutils
+
override_dh_auto_install:
dh_auto_install --buildsystem=python_distutils
mv $(CURDIR)/debian/python-srs/usr/bin/envfrom2srs.py debian/python-srs/usr/bin/envfrom2srs
mv $(CURDIR)/debian/python-srs/usr/bin/srs2envtol.py debian/python-srs/usr/bin/srs2envtol
+
+override_dh_auto_clean:
+ dh_auto_clean --buildsystem=python_distutils
+ rm $(MANPAGES)
+
+%.1: %.1.rst
+ rst2man $< > $@
More information about the Python-modules-commits
mailing list