diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-15 21:26:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-15 21:26:02 +0000 |
commit | 5daeefc4f2bb653a8cb46425daff4dffcaef7c72 (patch) | |
tree | 58f34b9c413d9fe60741b7eec03da04e1b72ea5b /common.mk | |
parent | 096cabd355689f8e925d29522af85025d9b544ed (diff) | |
download | ruby-5daeefc4f2bb653a8cb46425daff4dffcaef7c72.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@55696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 > $@ ### |