ruby-changes:50142
From: nobu <ko1@a...>
Date: Wed, 7 Feb 2018 00:31:15 +0900 (JST)
Subject: [ruby-changes:50142] nobu:r62260 (trunk): common.mk: link or copy MJIT_MIN_HEADER under include
nobu 2018-02-07 00:31:10 +0900 (Wed, 07 Feb 2018) New Revision: 62260 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62260 Log: common.mk: link or copy MJIT_MIN_HEADER under include Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 62259) +++ common.mk (revision 62260) @@ -210,6 +210,14 @@ $(MJIT_MIN_HEADER:.h=)$(MJIT_HEADER_SUFF https://github.com/ruby/ruby/blob/trunk/common.mk#L210 $(MJIT_MIN_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h: $(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h $(ECHO) building $@ $(MINIRUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC) $(ARCH_FLAG)" $(MJIT_HEADER:.h=)$(MJIT_HEADER_ARCH).h $@ + $(Q) $(MAKEDIRS) $(MJIT_HEADER_INSTALL_DIR) + $(Q) $(MINIRUBY) -rfileutils -e "include FileUtils::Verbose" \ + -e "src, dest = ARGV" \ + -e "exit if File.identical?(src, dest) or cmp(src, dest) rescue nil" \ + -e "ln_sf('../'*dest.count('/')+src, dest) rescue" \ + -e "ln(src, dest) rescue" \ + -e "cp(src, dest)" \ + $@ $(MJIT_HEADER_INSTALL_DIR)/$(@F) .PHONY: showflags exts enc trans: $(SHOWFLAGS) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/