[packages/ruby/RUBY_1_8] skip .info build without doc

glen glen at pld-linux.org
Mon Apr 11 18:36:13 CEST 2016


commit 5b51a841c13d6b7a1eb926ed53a5e0fd0c300c3b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 11 19:36:09 2016 +0300

    skip .info build without doc

 ruby.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ruby.spec b/ruby.spec
index 8bc360d..6f88a74 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -256,10 +256,11 @@ cd ..
 	--enable-pthread
 
 %{__make}
+
+%if %{with doc}
 %{__make} clean -C ruby-texi-1.4-en
 %{__make} info -C ruby-texi-1.4-en
 
-%if %{with doc}
 mkdir rdoc
 
 RUBYLIB=".:lib:$(find ext .ext -type d | tr '\n' ':')"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/5b51a841c13d6b7a1eb926ed53a5e0fd0c300c3b



More information about the pld-cvs-commit mailing list