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

Remove platform directory when distclean or more [ci skip]

At the time of clean-platform, platform directory may not be empty
because of parallel build.
This commit is contained in:
Nobuyoshi Nakada 2020-05-28 00:13:11 +09:00
parent 6dbc3a2871
commit 93ccb8e8a2
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -712,7 +712,7 @@ clean-capi distclean-capi realclean-capi:
@echo $(@:-capi=ing) capi @echo $(@:-capi=ing) capi
$(Q)$(RMALL) $(CAPIOUT) $(Q)$(RMALL) $(CAPIOUT)
clean-platform: clean-platform distclean-platform realclean-platform:
$(Q) $(RM) $(PLATFORM_D) $(Q) $(RM) $(PLATFORM_D)
-$(Q) $(RMDIR) $(PLATFORM_DIR) 2> $(NULL) || $(NULLCMD) -$(Q) $(RMDIR) $(PLATFORM_DIR) 2> $(NULL) || $(NULLCMD)