mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Create empty revision.tmp if BASERUBY is not yes
This commit is contained in:
parent
3f13297923
commit
34fe1f7d71
1 changed files with 3 additions and 4 deletions
|
@ -1091,11 +1091,10 @@ $(srcdir)/revision.h:
|
|||
$(Q)$(gnumake:yes=#) $(RM) $(@F)
|
||||
$(Q)$(gnumake:yes=#) exit > $@ || exit > $(@F)
|
||||
|
||||
revision.tmp: $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
||||
revision.$(HAVE_BASERUBY:yes=tmp): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp
|
||||
revision.$(HAVE_BASERUBY:no=tmp):
|
||||
revision.tmp::
|
||||
$(Q)exit > $@
|
||||
revision.$(HAVE_BASERUBY:yes=tmp):: $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > $@
|
||||
|
||||
$(REVISION_H): revision.tmp
|
||||
$(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp
|
||||
|
|
Loading…
Add table
Reference in a new issue