Merge pull request #53235 from cblecker/clean-fix-two

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Move make clean to a static list

**What this PR does / why we need it**:
#51911 changed the functionality of `make clean` to use `git clean` to remove ignored files. This had unintended consequences, wiping things out like etcd. This changes it back to a static list, managed via a bash script. It's not optimal, but the static list of patterns is more up to date then it was keeping it in the make file.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52271

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2017-10-05 20:16:47 -07:00
committed by GitHub
2 changed files with 39 additions and 1 deletions

View File

@@ -309,7 +309,7 @@ clean:
else
clean: clean_meta
build/make-clean.sh
git clean -Xdf
hack/make-rules/clean.sh
endif
define CLEAN_META_HELP_INFO