mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (REVISION_H): create temporary file in cwd so that it
works if srcdir is not writable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43dbbefbdf
commit
902084a60a
1 changed files with 2 additions and 2 deletions
|
@ -859,8 +859,8 @@ $(srcdir)/revision.h:
|
|||
@exit > $@
|
||||
|
||||
$(REVISION_H): $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
||||
@-$(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > "$(srcdir)/revision.tmp"
|
||||
@$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" "$(srcdir)/revision.tmp"
|
||||
@-$(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > revision.tmp
|
||||
@$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp
|
||||
|
||||
$(srcdir)/ext/ripper/ripper.c: parse.y
|
||||
$(ECHO) generating $@
|
||||
|
|
Loading…
Add table
Reference in a new issue