[X2Go-Commits] [python-x2go] 04/10: debian/rules: Don't build API documentation twice.
git-admin at x2go.org
git-admin at x2go.org
Sun Sep 24 10:51:38 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit c6a6dc0056e147372dde5fd7c244d21c503f08d0
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Sep 22 14:59:16 2017 +0200
debian/rules: Don't build API documentation twice.
---
debian/rules | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 007beaf..53eaf72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,11 @@
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-build/python-x2go-doc::
- mkdir -p .epydoc/html
- rm -Rf .epydoc/html/*
- epydoc --debug -n "Python X2Go" -u http://www.x2go.org -v --html --no-private -o .epydoc/html x2go/
+configure/python-x2go-doc::
+ if [ ! -d .epydoc/html ]; then \
+ mkdir -p .epydoc/html; \
+ epydoc --debug -n "Python X2Go" -u http://www.x2go.org -v --html --no-private -o .epydoc/html x2go/; \
+ fi
+
+cleanbuilddir/python-x2go-doc::
+ rm -Rf .epydoc/html
--
Alioth's /srv/git/code.x2go.org/python-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list