From d54856c1d4c7b23c0fd508faf37dbb292f575805 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Jul 2016 21:26:02 +0000 Subject: common.mk: directory timestamps * common.mk, enc/Makefile.in: moved timestamp files for directories under the specific directory, to get rid of match with files under the source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 99d1bb198c..93eb2925c4 100644 --- a/common.mk +++ b/common.mk @@ -35,11 +35,12 @@ DOCLIE_GIT_REF = v1.1.5 STATIC_RUBY = static-ruby +TIMESTAMPDIR = $(EXTOUT)/.timestamp EXTCONF = extconf.rb LIBRUBY_EXTS = ./.libruby-with-ext.time REVISION_H = ./.revision.time -PLATFORM_D = ./$(PLATFORM_DIR)/.time -ENC_TRANS_D = ./enc/trans/.time +PLATFORM_D = $(TIMESTAMPDIR)/.$(PLATFORM_DIR).time +ENC_TRANS_D = $(TIMESTAMPDIR)/.enc-trans.time RDOCOUT = $(EXTOUT)/rdoc HTMLOUT = $(EXTOUT)/html CAPIOUT = doc/capi @@ -693,13 +694,13 @@ PHONY: $(Q)$(RM) y.tab.c y.tab.h $(PLATFORM_D): - $(Q) $(MAKEDIRS) $(PLATFORM_DIR) + $(Q) $(MAKEDIRS) $(PLATFORM_DIR) $(@D) @exit > $@ $(BUILTIN_ENCOBJS) $(BUILTIN_TRANSOBJS): $(ENC_TRANS_D) $(ENC_TRANS_D): - $(Q) $(MAKEDIRS) enc/trans + $(Q) $(MAKEDIRS) enc/trans $(@D) @exit > $@ ### -- cgit v1.2.3