[DRE-commits] [SCM] ruby-mkrf.git branch, master, updated. upstream/0.2.3-16-gc3e579d

Cédric Boutillier cedric.boutillier at gmail.com
Thu Dec 15 23:13:00 UTC 2011


The following commit has been merged in the master branch:
commit d40f3119683713177b2bc893ec59a5e5bf336080
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Dec 14 08:12:56 2011 +0100

    clean files built during tests in auto_clean

diff --git a/debian/rules b/debian/rules
index a5e7dc8..b241f0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,16 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_clean:
+	#cleaning the files built during the tests
+	for x in libtrivial/ext libxml-ruby-0.3.8/ext/xml syck-0.55/ext/ruby/ext/syck ; do \
+		cd test/sample_files/$$x ; \
+		pwd ; \
+		[ -e Rakefile ] && rake clean && rake clobber ; \
+		rm -r Rakefile ; \
+		cd - ; \
+	done
+	dh_auto_clean
+
+

-- 
ruby-mkrf.git



More information about the Pkg-ruby-extras-commits mailing list