diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-03-02 19:18:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-03-02 19:18:13 +0900 |
commit | 72811deaa8be9101e2be7533118f136cef78dbb4 () | |
tree | 67bec4e7482188974344e44ae014324f8e0d9ffe /ext/extmk.rb | |
parent | 14355dde831b4988eee2f9a63defc30d29116fb8 (diff) |
MSWin: Use MESSAGE_BEGIN/MESSAGE_END instead of bare `echo`
To strip enclosing double quotes.
-rwxr-xr-x | ext/extmk.rb | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -764,6 +764,13 @@ begin mf.macro "NOTE_MESG", %w[$(RUBY) $(top_srcdir)/tool/lib/colorize.rb skip] mf.macro "NOTE_NAME", %w[$(RUBY) $(top_srcdir)/tool/lib/colorize.rb fail] %w[RM RMDIRS RMDIR RMALL].each {|w| mf.macro w, [RbConfig::CONFIG[w]]} mf.puts targets = %w[all install static install-so install-rb clean distclean realclean] targets.each do |tgt| @@ -826,15 +833,17 @@ begin fails.each do |ext, (parent, err)| abandon ||= mandatory_exts[ext] mf.puts %Q<\t@$(NOTE_NAME) "#{ext}:"> if parent - mf.puts %Q<\t@echo "\tCould not be configured. It will not be installed."> err and err.scan(/.+/) do |ee| - mf.puts %Q<\t@echo "\t#{ee.gsub(/["`$^]/, '\\\\\\&')}"> end - mf.puts %Q<\t@echo "\tCheck #{ext_prefix}/#{ext}/mkmf.log for more details."> else - mf.puts %Q<\t@echo "\tSkipped because its parent was not configured."> end end mf.puts "note:\n" mf.puts %Q<\t@$(NOTE_MESG) "*** Fix the problems, then remove these directories and try again if you want."> |