[dotnet] Improve the 'clean' target. (#8729)

Don't nuke the entire DOTNET_DESTDIR, because that means it will be necessary
to run 'make' in the top-level directory again. Instead only clean files that
the dotnet/ directory will re-build.
This commit is contained in:
Rolf Bjarne Kvinge 2020-06-03 09:00:19 +02:00 коммит произвёл GitHub
Родитель 4e37ecf65c
Коммит ce34c1f893
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -123,7 +123,7 @@ all-local:: $(TARGETS) targets/Xamarin.Shared.Sdk.Versions.props
endif endif
clean-local:: clean-local::
$(Q) rm -Rf $(DOTNET_DESTDIR) $(DOTNET_NUPKG_DIR) $(DOTNET_FEED_DIR) $(Q) rm -Rf $(DOTNET_NUPKG_DIR) $(DOTNET_FEED_DIR)
$(Q) git clean -xfdq $(Q) git clean -xfdq
.SECONDARY: .SECONDARY: