[Python-modules-commits] [python-pygraphviz] 12/14: remove doc/build in clean target, this allows the package to be built twice in a row; Closes: #825922

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 8 20:06:46 UTC 2017


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

morph pushed a commit to branch master
in repository python-pygraphviz.

commit 942909a10ea0205f5e142ce5a6e38bbad93f62ed
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Jan 8 14:59:09 2017 -0500

    remove doc/build in clean target, this allows the package to be built twice in a row; Closes: #825922
---
 debian/changelog | 5 ++++-
 debian/rules     | 4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ae4be5d..1f7aa2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,11 @@ python-pygraphviz (1.4~rc1-1) UNRELEASED; urgency=medium
     - add mock to b-d, needed by tests
     - remove X-P-V fields, no longer needed
   * compat level 10
+  * debian/rules
+    - remove doc/build in clean target, this allows the package to be built
+      twice in a row; Closes: #825922
 
- -- Sandro Tosi <morph at debian.org>  Sun, 08 Jan 2017 14:47:41 -0500
+ -- Sandro Tosi <morph at debian.org>  Sun, 08 Jan 2017 14:55:42 -0500
 
 python-pygraphviz (1.3.1-1.1) unstable; urgency=high
 
diff --git a/debian/rules b/debian/rules
index 6b80a2c..8d5096e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,3 +55,7 @@ ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 		rm $(CURDIR)/$$LIB/pygraphviz/tests/__init__py ; \
 	done
 endif
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf doc/build

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



More information about the Python-modules-commits mailing list