Override release date in Makefile if possible
This commit is contained in:
parent
849087ccb1
commit
9821f6d0e5
@ -56,6 +56,13 @@ ifeq ($(if $(filter all main exts enc trans libencs libenc libtrans \
|
||||
-include $(SHOWFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_BASERUBY):$(HAVE_GIT),yes:yes)
|
||||
override modified := $(shell $(BASERUBY) -C $(srcdir) tool/file2lastrev.rb --modified='%Y %m %d')
|
||||
override RUBY_RELEASE_YEAR := $(word 1,$(modified))
|
||||
override RUBY_RELEASE_MONTH := $(word 2,$(modified))
|
||||
override RUBY_RELEASE_DAY := $(word 3,$(modified))
|
||||
endif
|
||||
|
||||
ifneq ($(filter universal-%,$(arch)),)
|
||||
define archcmd
|
||||
%.$(1).S: %.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user