ruby-changes:46459
From: nobu <ko1@a...>
Date: Sat, 6 May 2017 09:54:28 +0900 (JST)
Subject: [ruby-changes:46459] nobu:r58573 (trunk): timestamp for extensions
nobu 2017-05-06 09:54:22 +0900 (Sat, 06 May 2017) New Revision: 58573 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58573 Log: timestamp for extensions * common.mk: use the same timestamp file for architecture specific directory as the file used in Makefiles under ext. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 58572) +++ common.mk (revision 58573) @@ -214,7 +214,7 @@ showconfig: https://github.com/ruby/ruby/blob/trunk/common.mk#L214 exts: build-ext EXTS_MK = exts.mk -$(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/.$(arch).time $(srcdir)/template/exts.mk.tmpl +$(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/$(arch)/.time $(srcdir)/template/exts.mk.tmpl $(Q)$(MAKE) -f ext/configure-ext.mk $(mflags) V=$(V) EXTSTATIC=$(EXTSTATIC) \ gnumake=$(gnumake) MINIRUBY="$(MINIRUBY)" \ EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)" @@ -585,7 +585,7 @@ timestamp/distclean:: ext/distclean gems https://github.com/ruby/ruby/blob/trunk/common.mk#L585 timestamp/realclean:: ext/realclean gems/realclean timestamp/clean timestamp/distclean timestamp/realclean:: - $(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/.$(arch).time $(TIMESTAMPDIR)/$(arch)/.time + $(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/$(arch)/.time $(Q)$(RMDIRS) $(TIMESTAMPDIR)/$(arch) 2> $(NULL) || exit 0 clean-ext:: @@ -772,8 +772,8 @@ $(ENC_TRANS_D): https://github.com/ruby/ruby/blob/trunk/common.mk#L772 $(Q) $(MAKEDIRS) enc/trans $(@D) @exit > $@ -$(TIMESTAMPDIR)/.$(arch).time: - $(Q)$(MAKEDIRS) $(@D) $(TIMESTAMPDIR)/$(arch) +$(TIMESTAMPDIR)/$(arch)/.time: + $(Q)$(MAKEDIRS) $(@D) @exit > $@ ### -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/