mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Manage the timestamp for revision.h
This commit is contained in:
parent
70173a72a2
commit
265a96b005
Notes:
git
2022-11-02 02:10:23 +00:00
1 changed files with 2 additions and 7 deletions
|
@ -1228,13 +1228,8 @@ $(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb
|
|||
|
||||
$(srcdir)/revision.h: $(REVISION_H)
|
||||
|
||||
revision.$(HAVE_BASERUBY:no=tmp)::
|
||||
$(Q) $(NULLCMD) > $@
|
||||
revision.$(HAVE_BASERUBY:yes=tmp):: $(srcdir)/version.h $(tooldir)/file2lastrev.rb $(REVISION_FORCE)
|
||||
$(Q) $(BASERUBY) $(tooldir)/file2lastrev.rb -q --revision.h --srcdir="$(srcdir)" > $@
|
||||
|
||||
$(REVISION_H): revision.tmp
|
||||
-$(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp
|
||||
$(REVISION_H):
|
||||
$(Q) $(BASERUBY) $(tooldir)/file2lastrev.rb -q --revision.h --srcdir="$(srcdir)" --output=revision.h --timestamp=$@
|
||||
|
||||
$(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y $(srcdir)/defs/id.def $(srcdir)/ext/ripper/depend
|
||||
$(ECHO) generating $@
|
||||
|
|
Loading…
Reference in a new issue