1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Install all file trees for lldb [ci skip]

It is no longer single lldb_cruby.py only.
This commit is contained in:
Nobuyoshi Nakada 2022-09-28 21:26:25 +09:00
parent d12fce7af3
commit 247d598477
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -686,7 +686,13 @@ install?(:dbg, :nodefault) do
RbConfig.expand(File.read(src), conf) RbConfig.expand(File.read(src), conf)
} }
end end
install File.join(srcdir, "misc/lldb_cruby.py"), File.join(rubylibdir, "lldb_cruby.py") Dir.glob(File.join(srcdir, "misc/lldb_*")) do |src|
if File.directory?(src)
install_recursive src, File.join(rubylibdir, File.basename(src))
else
install src, rubylibdir
end
end
install File.join(srcdir, ".gdbinit"), File.join(rubylibdir, "gdbinit") install File.join(srcdir, ".gdbinit"), File.join(rubylibdir, "gdbinit")
if $debug_symbols if $debug_symbols
{ {