mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
timestamp for extensions
* common.mk: use the same timestamp file for architecture specific directory as the file used in Makefiles under ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf1844f9b5
commit
6b4fc043db
1 changed files with 4 additions and 4 deletions
|
@ -214,7 +214,7 @@ showconfig:
|
||||||
exts: build-ext
|
exts: build-ext
|
||||||
|
|
||||||
EXTS_MK = exts.mk
|
EXTS_MK = exts.mk
|
||||||
$(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/.$(arch).time $(srcdir)/template/exts.mk.tmpl
|
$(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/$(arch)/.time $(srcdir)/template/exts.mk.tmpl
|
||||||
$(Q)$(MAKE) -f ext/configure-ext.mk $(mflags) V=$(V) EXTSTATIC=$(EXTSTATIC) \
|
$(Q)$(MAKE) -f ext/configure-ext.mk $(mflags) V=$(V) EXTSTATIC=$(EXTSTATIC) \
|
||||||
gnumake=$(gnumake) MINIRUBY="$(MINIRUBY)" \
|
gnumake=$(gnumake) MINIRUBY="$(MINIRUBY)" \
|
||||||
EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)"
|
EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)"
|
||||||
|
@ -585,7 +585,7 @@ timestamp/distclean:: ext/distclean gems/distclean
|
||||||
timestamp/realclean:: ext/realclean gems/realclean
|
timestamp/realclean:: ext/realclean gems/realclean
|
||||||
|
|
||||||
timestamp/clean timestamp/distclean timestamp/realclean::
|
timestamp/clean timestamp/distclean timestamp/realclean::
|
||||||
$(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/.$(arch).time $(TIMESTAMPDIR)/$(arch)/.time
|
$(Q)$(RM) $(TIMESTAMPDIR)/.*.time $(TIMESTAMPDIR)/$(arch)/.time
|
||||||
$(Q)$(RMDIRS) $(TIMESTAMPDIR)/$(arch) 2> $(NULL) || exit 0
|
$(Q)$(RMDIRS) $(TIMESTAMPDIR)/$(arch) 2> $(NULL) || exit 0
|
||||||
|
|
||||||
clean-ext::
|
clean-ext::
|
||||||
|
@ -772,8 +772,8 @@ $(ENC_TRANS_D):
|
||||||
$(Q) $(MAKEDIRS) enc/trans $(@D)
|
$(Q) $(MAKEDIRS) enc/trans $(@D)
|
||||||
@exit > $@
|
@exit > $@
|
||||||
|
|
||||||
$(TIMESTAMPDIR)/.$(arch).time:
|
$(TIMESTAMPDIR)/$(arch)/.time:
|
||||||
$(Q)$(MAKEDIRS) $(@D) $(TIMESTAMPDIR)/$(arch)
|
$(Q)$(MAKEDIRS) $(@D)
|
||||||
@exit > $@
|
@exit > $@
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Add table
Reference in a new issue