forked from Archive/PX4-Autopilot
Makefile: clean use git clean to delete all gitignore files recursively
This commit is contained in:
parent
feebb24106
commit
3b24abaa1b
2
Makefile
2
Makefile
|
@ -469,6 +469,8 @@ validate_module_configs:
|
|||
|
||||
clean:
|
||||
@rm -rf "$(SRC_DIR)"/build
|
||||
@git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode"
|
||||
@git submodule foreach git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode"
|
||||
|
||||
submodulesclean:
|
||||
@git submodule foreach --quiet --recursive git clean -ff -x -d
|
||||
|
|
Loading…
Reference in New Issue