The following commit has been merged in the master branch:
commit dc11b1943161a5752c2bbdac0677468c03de2a7f
Author: Youhei SASAKI <[email protected]>
Date: Tue Feb 22 16:05:42 2011 +0900
add test-target
diff --git a/debian/patches/add-test-target.patch
b/debian/patches/add-test-target.patch
index 01d7e13..748f025 100644
--- a/debian/patches/add-test-target.patch
+++ b/debian/patches/add-test-target.patch
@@ -1,13 +1,12 @@
--- ruby-hdfeos5.orig/extconf.rb
+++ ruby-hdfeos5/extconf.rb
-@@ -59,8 +59,12 @@
+@@ -59,8 +59,11 @@
when /^all:/
newmkfl.puts(line)
newmkfl.puts("")
- newmkfl.puts("test: all") # insert the "test" target
- newmkfl.puts("\t\t@cd test && ruby test.rb && echo 'test did not fail
:-p (please ignore the warnings)' && cd ..")
+ newmkfl.puts("\t\t-@( [ ! -d lib/numru ] && ( mkdir -p lib/numru && cd
lib/numru && ln -s ../../hdfeos5raw.so hdfeos5raw.so && ln -s ../hdfeos5.rb
hdfeos5.rb )) ")
-+ newmkfl.puts("\t\tcd test && /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib
test_gd.rb 1>/dev/null && cd ..")
+ newmkfl.puts("\t\tcd test && /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib
test_pt.rb 1>/dev/null && cd ..")
+ newmkfl.puts("\t\tcd test && /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib
test_sw.rb 1>/dev/null && cd ..")
+ newmkfl.puts("\t\tcd test && /usr/bin/ruby$(CDBS_RUBY_VER) -I../lib
test_za.rb 1>/dev/null && cd ..")
--
Ruby interface of HDF-EOS5 library
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel