[pyplusplus] 12/18: Creating rule to documentation
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Fri Sep 2 07:06:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository pyplusplus.
commit 393c54bab0f27531a98e1525aa59eef70bce906e
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date: Tue Aug 30 15:32:48 2016 +0200
Creating rule to documentation
---
debian/rules | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/rules b/debian/rules
index fd3347d..37648ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,20 @@
override_dh_clean:
rm -rf pyplusplus.egg-info
+ rm -rf docs/build
+ rm -rf debian/manpages/*
dh_clean
+override_dh_auto_build:
+ dh_auto_build
+ cd docs && make html man
+
+override_dh_install:
+ mkdir -p debian/python-py++/usr/share/doc/python-py++/
+ find docs/build -name sconstruct.txt | xargs -n1 rm -f
+ rm docs/build/html/_static/jquery.js docs/build/html/_static/underscore.js
+ cp -r docs/build/html debian/python-py++/usr/share/doc/python-py++/
+ dh_install
+
get-orig-source:
uscan --verbose --force-download --repack --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyplusplus.git
More information about the debian-science-commits
mailing list