[spyder] 09/14: Clean documentation artefacts with debhelper

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 22 15:46:53 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository spyder.

commit fc37fcf8752e259e05bf1e8bf9a257ba20739e39
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Sep 22 14:11:40 2017 +0100

    Clean documentation artefacts with debhelper
---
 debian/clean | 2 ++
 debian/rules | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..77891ec
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+build/html/
+build/man/
diff --git a/debian/rules b/debian/rules
index 80ac4f3..6ccb98b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,6 @@ export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ {destdir}/usr/share
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	$(RM) -rf build/html build/man
-
 override_dh_auto_build: export http_proxy=127.0.0.1:9
 override_dh_auto_build: export https_proxy=127.0.0.1:9
 override_dh_auto_build:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/spyder.git



More information about the debian-science-commits mailing list