From af424b17a07b3d78cd7ee8b01edcf1e7a6077d8e Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 16 Sep 2009 04:16:19 +0000 Subject: [PATCH] * template/Doxyfile.tmpl: RbConfig::CONFIG['DOT'] is sometimes nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ template/Doxyfile.tmpl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d772b35df7..dd13d84548 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 16 13:15:17 2009 NAKAMURA Usaku + + * template/Doxyfile.tmpl: RbConfig::CONFIG['DOT'] is sometimes nil. + Wed Sep 16 10:14:54 2009 Nobuyoshi Nakada * README.EXT, README.EXT.ja (rb_protect, rb_jump_tag): added. diff --git a/template/Doxyfile.tmpl b/template/Doxyfile.tmpl index 0fd9462c69..34a42983ce 100644 --- a/template/Doxyfile.tmpl +++ b/template/Doxyfile.tmpl @@ -12,7 +12,7 @@ unless miniruby miniruby = './miniruby$(EXEEXT) -I$(srcdir)/lib -I$(EXTOUT)/common -I./- -r$(srcdir)/ext/purelib.rb' RbConfig.expand(miniruby, RbConfig::CONFIG.merge("srcdir"=>srcdir)) end -dot = RbConfig::CONFIG['DOT'] +dot = RbConfig::CONFIG['DOT'] || "" have_dot = dot.empty? ? "NO" : "YES" %> #---------------------------------------------------------------------------