зеркало из https://github.com/github/ruby.git
* common.mk (prelude.c): depends on enc/prelude.rb.
* enc/prelude.rb: fixed initial library names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2d9e9c3fd7
Коммит
7dc26509c6
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Apr 8 10:30:29 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* common.mk (prelude.c): depends on enc/prelude.rb.
|
||||||
|
|
||||||
|
* enc/prelude.rb: fixed initial library names.
|
||||||
|
|
||||||
Tue Apr 8 03:39:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Apr 8 03:39:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* load.c (rb_provided): check expanded path for relative path
|
* load.c (rb_provided): check expanded path for relative path
|
||||||
|
|
|
@ -85,6 +85,9 @@ OBJS = dln.$(OBJEXT) \
|
||||||
|
|
||||||
GOLFOBJS = goruby.$(OBJEXT) golf_prelude.$(OBJEXT)
|
GOLFOBJS = goruby.$(OBJEXT) golf_prelude.$(OBJEXT)
|
||||||
|
|
||||||
|
PRELUDE_SCRIPTS = $(srcdir)/prelude.rb $(srcdir)/enc/prelude.rb $(srcdir)/gem_prelude.rb
|
||||||
|
PRELUDES = prelude.c miniprelude.c golf_prelude.c
|
||||||
|
|
||||||
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
|
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
|
||||||
--extout="$(EXTOUT)" \
|
--extout="$(EXTOUT)" \
|
||||||
--mflags="$(MFLAGS)" \
|
--mflags="$(MFLAGS)" \
|
||||||
|
@ -734,9 +737,9 @@ transdb.h: $(PREP)
|
||||||
miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
|
miniprelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb
|
||||||
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
|
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
|
||||||
|
|
||||||
prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/gem_prelude.rb $(RBCONFIG) $(PREP)
|
prelude.c: $(srcdir)/tool/compile_prelude.rb $(PRELUDE_SCRIPTS) $(RBCONFIG) $(PREP)
|
||||||
$(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb \
|
$(MINIRUBY) -I$(srcdir) -rrbconfig $(srcdir)/tool/compile_prelude.rb \
|
||||||
$(srcdir)/prelude.rb $(srcdir)/enc/prelude.rb $(srcdir)/gem_prelude.rb $@.new
|
$(PRELUDE_SCRIPTS) $@.new
|
||||||
$(IFCHANGE) "$@" "$@.new"
|
$(IFCHANGE) "$@" "$@.new"
|
||||||
|
|
||||||
golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(PREP)
|
golf_prelude.c: $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $(srcdir)/golf_prelude.rb $(PREP)
|
||||||
|
@ -747,7 +750,6 @@ prereq: incs srcs preludes
|
||||||
|
|
||||||
preludes: {$(VPATH)}miniprelude.c
|
preludes: {$(VPATH)}miniprelude.c
|
||||||
preludes: {$(srcdir)}golf_prelude.c
|
preludes: {$(srcdir)}golf_prelude.c
|
||||||
PRELUDES = prelude.c miniprelude.c golf_prelude.c
|
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/makedocs.rb $(INSNS2VMOPT)
|
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/makedocs.rb $(INSNS2VMOPT)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%w'enc/init enc/trans/init'.each do |init|
|
%w'enc/encdb enc/trans/transdb'.each do |init|
|
||||||
begin
|
begin
|
||||||
require(init)
|
require(init)
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
|
Загрузка…
Ссылка в новой задаче