From 5daeefc4f2bb653a8cb46425daff4dffcaef7c72 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 --- ChangeLog | 6 ++++++ common.mk | 9 +++++---- enc/Makefile.in | 5 +++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ddb67d1fb5..ad9fa722ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Jul 16 06:26:00 2016 Nobuyoshi Nakada + + * 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. + Fri Jul 15 22:05:13 2016 Naohisa Goto * string.c (str_buf_cat): Fix potential interger overflow of capa. 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 > $@ ### diff --git a/enc/Makefile.in b/enc/Makefile.in index 73b1e70941..8385236494 100644 --- a/enc/Makefile.in +++ b/enc/Makefile.in @@ -20,8 +20,9 @@ TRANSSODIR = $(ENCSODIR)/trans DLEXT = @DLEXT@ OBJEXT = @OBJEXT@ LIBEXT = @LIBEXT@ -ENC_TRANS_D = ./enc/trans/.time -ENC_TRANS_SO_D = ./enc/trans/.so.time +TIMESTAMPDIR = $(EXTOUT)/.timestamp +ENC_TRANS_D = $(TIMESTAMPDIR)/.enc-trans.time +ENC_TRANS_SO_D = $(TIMESTAMPDIR)/.enc-trans.so.time BUILTIN_ENCS = enc/ascii.c enc/us_ascii.c\ enc/unicode.c enc/utf_8.c -- cgit v1.2.3