[Python-modules-commits] r20642 - in packages/python-docutils/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri Mar 2 01:21:41 UTC 2012
Date: Friday, March 2, 2012 @ 01:21:39
Author: jwilk
Revision: 20642
Split section ?\226?\128?\156Usage?\226?\128?\157 into ?\226?\128?\156Synopsis?\226?\128?\157 and ?\226?\128?\156Description?\226?\128?\157 in the manual pages.
Modified:
packages/python-docutils/trunk/debian/changelog
packages/python-docutils/trunk/debian/rules
Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog 2012-03-02 01:01:25 UTC (rev 20641)
+++ packages/python-docutils/trunk/debian/changelog 2012-03-02 01:21:39 UTC (rev 20642)
@@ -9,8 +9,10 @@
(no-test-skipping.diff)
* Check only *.py files when looking for unguarded use of __file__.
* Fix paths in the auto-generated manual pages.
+ * Split section âUsageâ into âSynopsisâ and âDescriptionâ in the manual
+ pages.
- -- Jakub Wilk <jwilk at debian.org> Fri, 02 Mar 2012 02:01:09 +0100
+ -- Jakub Wilk <jwilk at debian.org> Fri, 02 Mar 2012 02:20:55 +0100
python-docutils (0.8.1-5) unstable; urgency=low
Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules 2012-03-02 01:01:25 UTC (rev 20641)
+++ packages/python-docutils/trunk/debian/rules 2012-03-02 01:21:39 UTC (rev 20642)
@@ -100,7 +100,13 @@
PYTHONPATH=.:extras; \
export PYTHONPATH; \
cp debian/$$exe.txt debian/tmp/man/$$exe.txt; \
- python debian/tmp/usr/share/docutils/scripts/python2/$$exe --help \
+ python debian/tmp/usr/share/docutils/scripts/python2/$$exe --help | \
+ sed \
+ -e '1 s/^Usage$$/Synopsis/' \
+ -e 's/^=/====/' \
+ -e '3 s/^ //' \
+ -e '4 a Description' \
+ -e '4 a ===========' \
>> debian/tmp/man/$$exe.txt;\
python tools/rst2man.py debian/tmp/man/$$exe.txt \
debian/tmp/man/$$exe.1; \
More information about the Python-modules-commits
mailing list