ruby-changes:53871
From: nobu <ko1@a...>
Date: Thu, 29 Nov 2018 16:46:00 +0900 (JST)
Subject: [ruby-changes:53871] nobu:r66090 (trunk): Create empty revision.h when srcdir is write-only [ci skip]
nobu 2018-11-29 16:45:54 +0900 (Thu, 29 Nov 2018) New Revision: 66090 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66090 Log: Create empty revision.h when srcdir is write-only [ci skip] Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 66089) +++ common.mk (revision 66090) @@ -1083,7 +1083,8 @@ preludes: {$(VPATH)}miniprelude.c https://github.com/ruby/ruby/blob/trunk/common.mk#L1083 preludes: {$(srcdir)}golf_prelude.c $(srcdir)/revision.h: - $(Q)$(gnumake:yes=#) exit > $@ + $(Q)$(gnumake:yes=#) $(RM) $(@F) + $(Q)$(gnumake:yes=#) exit > $@ || exit > $(@F) $(REVISION_H): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE) -$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/