[Python-modules-commits] [python-aptly] 02/02: man generator cleanup

Ondřej Nový onovy at moszumanska.debian.org
Mon Aug 8 12:19:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository python-aptly.

commit c582fbf84aecc0d894e2e54feb4a8dfb4cc69bfc
Author: Ondřej Nový <onovy at debian.org>
Date:   Mon Aug 8 14:19:16 2016 +0200

    man generator cleanup
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 5597377..4447191 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,10 @@ export PYBUILD_NAME=aptly
 override_dh_auto_build:
 	dh_auto_build
 	# Generate man page
-	(PYTHONPATH=. help2man -n "aptly-publisher - tool for easy creation of Aptly multi component publishes" --version-string=$(VER) "python aptly/publisher/__main__.py" | sed s,__main__.py,aptly-publisher,g > debian/aptly-publisher.1)
+	PYTHONPATH=. help2man -n "aptly-publisher - tool for easy creation of Aptly multi component publishes" \
+			--version-string=$(VER) "python aptly/publisher/__main__.py" \
+		| sed -e s,__main__.py,aptly-publisher,g -e s,__MAIN__.PY,APTLY-PUBLISHER,g \
+		> debian/aptly-publisher.1
 
 override_dh_install:
 	dh_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aptly.git



More information about the Python-modules-commits mailing list