[Python-modules-commits] [xhtml2pdf] 12/13: install man page for xhtml2pdf3
Drew Parsons
dparsons at moszumanska.debian.org
Mon Oct 30 04:27:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository xhtml2pdf.
commit 1fe2e50571eb892c924af9876ebfefcd0c60d15c
Author: Drew Parsons <dparsons at emerall.com>
Date: Mon Oct 30 12:15:39 2017 +0800
install man page for xhtml2pdf3
---
debian/python3-xhtml2pdf.manpages | 1 +
debian/rules | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/python3-xhtml2pdf.manpages b/debian/python3-xhtml2pdf.manpages
new file mode 100644
index 0000000..4dc7143
--- /dev/null
+++ b/debian/python3-xhtml2pdf.manpages
@@ -0,0 +1 @@
+xhtml2pdf3.1
diff --git a/debian/rules b/debian/rules
index f9906bf..3fb6a99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,10 +11,11 @@ export PYBUILD_NAME=xhtml2pdf
%:
dh $@ --with python2,python3 --buildsystem=pybuild
-override_dh_auto_build:
+override_dh_installman:
# build the manpage
$(XP) $(DB2MAN) debian/xhtml2pdf.dbk
- dh_auto_build
+ cp xhtml2pdf.1 xhtml2pdf3.1
+ dh_installman
override_dh_auto_install:
dh_auto_install
@@ -25,6 +26,6 @@ override_dh_auto_install:
mv debian/python3-xhtml2pdf/usr/bin/xhtml2pdf debian/python3-xhtml2pdf/usr/bin/xhtml2pdf3
override_dh_clean:
- -rm xhtml2pdf.1
+ -rm xhtml2pdf.1 xhtml2pdf3.1
dh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/xhtml2pdf.git
More information about the Python-modules-commits
mailing list