Commit 15871eb8 authored by kurodash's avatar kurodash

Modified build dependency to exclude 'LEGAL' from libmruby archive.

parent 99af3183
......@@ -8,7 +8,7 @@ MRuby.each_target do
# loader all gems
self.libmruby << objfile("#{build_dir}/mrbgems/gem_init")
file objfile("#{build_dir}/mrbgems/gem_init") => "#{build_dir}/mrbgems/gem_init.c"
file objfile("#{build_dir}/mrbgems/gem_init") => ["#{build_dir}/mrbgems/gem_init.c", "#{build_dir}/LEGAL"]
file "#{build_dir}/mrbgems/gem_init.c" => [MRUBY_CONFIG] do |t|
FileUtils.mkdir_p "#{build_dir}/mrbgems"
open(t.name, 'w') do |f|
......@@ -42,7 +42,6 @@ MRuby.each_target do
end
# legal documents
self.libmruby << "#{build_dir}/LEGAL"
file "#{build_dir}/LEGAL" => [MRUBY_CONFIG] do |t|
open(t.name, 'w+') do |f|
f.puts <<LEGAL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment