зеркало из https://github.com/github/ruby.git
Move the dependency of makefiles on revision header [ci skip]
Since `REVISION_H` is defined in common.mk which is appended or included after Makefile.in, it was undefined yet at the point of the dependency.
This commit is contained in:
Родитель
5b26f76ad9
Коммит
1ddeb7473d
|
@ -1225,6 +1225,9 @@ $(REVISION_H)$(no_baseruby:no=~disabled~):
|
|||
$(REVISION_H)$(yes_baseruby:yes=~disabled~):
|
||||
$(Q) exit > $@
|
||||
|
||||
uncommon.mk: $(REVISION_H)
|
||||
$(MKFILES): $(REVISION_H)
|
||||
|
||||
$(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y $(srcdir)/defs/id.def $(srcdir)/ext/ripper/depend
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(CHDIR) $(@D) && \
|
||||
|
|
|
@ -384,7 +384,7 @@ install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/confi
|
|||
|
||||
Makefile: $(srcdir)/template/Makefile.in $(srcdir)/enc/Makefile.in
|
||||
|
||||
$(MKFILES): config.status $(srcdir)/version.h $(REVISION_H) $(ABI_VERSION_HDR)
|
||||
$(MKFILES): config.status $(srcdir)/version.h $(ABI_VERSION_HDR)
|
||||
@[ -f $@ ] && mv $@ $@.old
|
||||
MAKE=$(MAKE) $(SHELL) ./config.status $@
|
||||
@cmp $@ $@.old > /dev/null 2>&1 && echo $@ unchanged && exit 0; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче