[sasview] 01/06: Catch more things that need cleaning

Stuart Prescott stuart at debian.org
Thu Nov 2 13:42:45 UTC 2017


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

stuart pushed a commit to branch master
in repository sasview.

commit 39e3f482442409c265d197b1d0dedb8176f87138
Author: Stuart Prescott <stuart at debian.org>
Date:   Fri Nov 3 00:35:29 2017 +1100

    Catch more things that need cleaning
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index f56c624..90a28bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,14 @@ export HOME = $(CURDIR)/build/
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_clean:
+	dh_auto_clean
+	# clean up docs
+	rm -rf docs/sphinx-docs/build docs/sphinx-docs/source-temp
+	# clean up tests
+	find test -name logs -type d -exec rm -rf {} +
+	rm -rf test/tests.log .cache test/.cache test/__init__.py
+
 override_dh_install:
 	dh_install
 	mv debian/python-sasview/usr/bin/sasview debian/sasview/usr/bin/sasview

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



More information about the debian-science-commits mailing list