1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add noarch-fake.rb target

`yes-fake` depends on it when `arch=noarch` is given, but the rule to
generate it from fake.rb.in is ignored now.
This commit is contained in:
Nobuyoshi Nakada 2022-09-14 23:08:24 +09:00
parent 758a1d7302
commit b6a9e68391
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -783,6 +783,9 @@ $(arch:noarch=ignore)-fake.rb: $(srcdir)/template/fake.rb.in $(tooldir)/generic_
$(BOOTSTRAPRUBY) "$(tooldir)/generic_erb.rb" -o $@ "$(srcdir)/template/fake.rb.in" \
i=- srcdir="$(srcdir)" BASERUBY="$(BASERUBY)"
noarch-fake.rb: # prerequisite of yes-fake
touch $@
btest: $(TEST_RUNNABLE)-btest
no-btest: PHONY
yes-btest: yes-fake miniruby$(EXEEXT) PHONY