[xmds2] 02/03: d/clean: New file

Rafael Laboissiere rafael at debian.org
Sat Oct 7 13:47:10 UTC 2017


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

rafael pushed a commit to branch master
in repository xmds2.

commit 0776a682a7e17184f5511f97bf0eab9e3387758c
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat Oct 7 04:03:12 2017 -0300

    d/clean: New file
---
 debian/clean | 15 +++++++++++++++
 debian/rules | 11 +----------
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7d6ec8d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,15 @@
+xmds2.egg-info/
+xpdeint/.lock-waf_linux2_build
+xpdeint/.wafpickle-98
+xpdeint/Version.py
+xpdeint/c4che/
+xpdeint/config.log
+build/
+examples/lorenz.cc
+examples/lorenz
+examples/lorenz.xsil
+examples/lorenz.h5
+examples/lorenz.m
+testsuite_results/
+debian/xmds-user-data/
+bin-test/
diff --git a/debian/rules b/debian/rules
index c4de35e..3e34ce7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,18 +14,9 @@ override_dh_auto_test:
 	debian/tests/run-tests -b
 
 override_dh_auto_clean:
-	dh_clean
 	cd xpdeint; waf/waf-light configure
 	make clean
-	rm -rf xmds2.egg-info/
-	rm -f xpdeint/.lock-waf_linux2_build
-	rm -f xpdeint/.wafpickle-98
-	rm -f xpdeint/Version.py
-	rm -rf xpdeint/c4che/
-	rm -f xpdeint/config.log
-	rm -rf build/
-	( cd examples ; rm -f lorenz.cc lorenz lorenz.xsil lorenz.h5 lorenz.m )
-	rm -rf testsuite_results $(XMDS_USER_DATA) bin-test
+	dh_clean
 
 JSDIR = /usr/share/javascript
 INSTDIR = $(CURDIR)/debian/xmds2-doc

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



More information about the debian-science-commits mailing list