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

Fix race conditions when cleaning extensions

Clean built directories by `make distclean`, and then clean leftover
makefiles for skipped extensions.
This commit is contained in:
Nobuyoshi Nakada 2022-08-11 17:42:56 +09:00
parent 0c9803b0fd
commit 32d1ce96e0
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -536,6 +536,10 @@ ext/realclean:: ext/realclean.sub
.bundle/distclean:: .bundle/distclean.sub
.bundle/realclean:: .bundle/realclean.sub
ext/clean.sub .bundle/clean.sub:: ext/clean.mk
ext/distclean.sub .bundle/distclean.sub:: ext/distclean.mk
ext/realclean.sub .bundle/realclean.sub:: ext/realclean.mk
ext/clean.sub ext/distclean.sub ext/realclean.sub \
.bundle/clean.sub .bundle/distclean.sub .bundle/realclean.sub::
$(Q) set dummy `echo "${EXTS}" | tr , ' '`; shift; \