aboutsummaryrefslogtreecommitdiffstats
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
commit7f20fd463820669774654dc0e49e0a83130a3cde (patch)
treefce172c5b86197a459f5e778c18ba74dd4ea2d5c
parentba72d00e241d756410a781b482d106518b90501a (diff)
downloadruby-7f20fd463820669774654dc0e49e0a83130a3cde.tar.gz
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 99d1bb198c..7f790969fb 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 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