ruby-changes:28134
From: nobu <ko1@a...>
Date: Mon, 8 Apr 2013 23:09:54 +0900 (JST)
Subject: [ruby-changes:28134] nobu:r40186 (trunk): ext/depend: fix dependency
nobu 2013-04-08 23:09:42 +0900 (Mon, 08 Apr 2013) New Revision: 40186 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40186 Log: ext/depend: fix dependency * ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has $(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out ruby/ruby.h. use ruby.h instead and ../ruby for include/ruby.h. Modified files: trunk/ChangeLog trunk/enc/depend Index: ChangeLog =================================================================== --- ChangeLog (revision 40185) +++ ChangeLog (revision 40186) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Apr 8 23:09:34 2013 Nobuyoshi Nakada <nobu@r...> + + * ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has + $(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out + ruby/ruby.h. use ruby.h instead and ../ruby for include/ruby.h. + Mon Apr 8 20:30:37 2013 Yuki Yugui Sonoda <yugui@g...> * ext/depend (ENCOBJS, TRANSOBJS): Add missing dependencies. Index: enc/depend =================================================================== --- enc/depend (revision 40185) +++ enc/depend (revision 40186) @@ -83,13 +83,13 @@ srcs: $(TRANSCSRCS) https://github.com/ruby/ruby/blob/trunk/enc/depend#L83 % unless ENCS.empty? or TRANS.empty? % unless ENCS.empty? -$(ENCOBJS): regenc.h oniguruma.h config.h defines.h ruby/ruby.h missing.h subst.h intern.h st.h encoding.h +$(ENCOBJS): ../ruby.h regenc.h oniguruma.h config.h defines.h ruby.h missing.h subst.h intern.h st.h encoding.h % end % ENC_DEPS.each do |e, deps| enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%> % end % unless TRANS.empty? -$(TRANSOBJS): ruby/ruby.h intern.h config.h defines.h missing.h encoding.h oniguruma.h st.h transcode_data.h subst.h encoding.h +$(TRANSOBJS): ../ruby.h ruby.h intern.h config.h defines.h missing.h encoding.h oniguruma.h st.h transcode_data.h subst.h encoding.h % end % ATRANS.each do |e| % src = "#{e}.trans" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/