diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-17 23:16:55 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-17 23:44:14 +0900 |
commit | 39f91bc24baa37db3c3d1485902056f43b013b54 (patch) | |
tree | 937ae3875f9666948c19b2804fa258f4edd25705 /defs | |
parent | 922e61fcc22abfc86a9805ccf52ba9f8edeca17c (diff) | |
download | ruby-39f91bc24baa37db3c3d1485902056f43b013b54.tar.gz |
Always generate non-empty revision.h
Non-GNU make seems to generate empty revision.h, but it doesn't make
sense since https://github.com/ruby/ruby/pull/6382.
Also the $(HAVE_BASERUBY:yes=tmp) hack doesn't seem to be working on
OpenBSD. I'll remove it to focus on fixing RubyCI first, and then deal
with baseruby-missing environments. At least a snapshot should have
revision.h and it might work fine though.
Diffstat (limited to 'defs')
-rw-r--r-- | defs/gmake.mk | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk index c593c1c033..cebb181fd1 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -383,19 +383,6 @@ $(UNICODE_SRC_DATA_DIR)/.unicode-tables.time: \ $(UNICODE_FILES) $(UNICODE_PROPERTY_FILES) endif -ifeq ($(wildcard $(srcdir)/revision.h),) -REVISION_IN_HEADER := none -REVISION_LATEST := update -else -REVISION_IN_HEADER := $(shell sed -n 's/^\#define RUBY_FULL_REVISION "\(.*\)"/\1/p' $(srcdir)/revision.h 2>/dev/null) -REVISION_LATEST := $(shell $(CHDIR) $(srcdir) && $(GIT) log -1 --format=%H 2>/dev/null) -endif -ifneq ($(REVISION_IN_HEADER),$(REVISION_LATEST)) -# 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) -endif - include $(top_srcdir)/yjit/yjit.mk # Query on the generated rdoc |