summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-15 14:08:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-15 14:08:20 +0000
commit2ace43ba57c30781a59c554eb0e188f9c76acbe8 (patch)
treefce172c5b86197a459f5e778c18ba74dd4ea2d5c
parent20c4461d86487447e0c8208514ff90835104b89c (diff)
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@55693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk5
-rw-r--r--enc/Makefile.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index 99d1bb198cb..7f790969fb8 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
diff --git a/enc/Makefile.in b/enc/Makefile.in
index 73b1e709410..83852364949 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