mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Always try to update revision.h with GNU make
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16d6a91a5d
commit
1a6ae0a99f
2 changed files with 5 additions and 1 deletions
|
@ -1083,7 +1083,7 @@ preludes: {$(VPATH)}miniprelude.c
|
|||
preludes: {$(srcdir)}golf_prelude.c
|
||||
|
||||
$(srcdir)/revision.h:
|
||||
@exit > $@
|
||||
$(Q)$(gnumake:yes=#) exit > $@
|
||||
|
||||
$(REVISION_H): $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
|
||||
-$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > revision.tmp
|
||||
|
|
|
@ -185,6 +185,10 @@ $(MJIT_MIN_HEADER): $(mjit_min_headers) $(PREP)
|
|||
|
||||
endif
|
||||
|
||||
# GNU make treat the target as unmodified when its dependents get
|
||||
# updated but it is not updated, while others may not.
|
||||
$(srcdir)/revision.h: $(REVISION_H)
|
||||
|
||||
# Query on the generated rdoc
|
||||
#
|
||||
# $ make rdoc:Integer#+
|
||||
|
|
Loading…
Reference in a new issue