From a7128dc997483f8eaa96ba9b56c9632c7557f94c Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 2 Sep 2022 13:41:54 +0200 Subject: [PATCH] build: make clean --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 89f91ee4a..6ee60cc34 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,7 @@ $(REL_PROFILES:%=%): $(COMMON_DEPS) clean: $(PROFILES:%=clean-%) $(PROFILES:%=clean-%): @if [ -d _build/$(@:clean-%=%) ]; then \ - rm rebar.lock \ + rm -f rebar.lock; \ rm -rf _build/$(@:clean-%=%)/rel; \ $(FIND) _build/$(@:clean-%=%) -name '*.beam' -o -name '*.so' -o -name '*.app' -o -name '*.appup' -o -name '*.o' -o -name '*.d' -type f | xargs rm -f; \ $(FIND) _build/$(@:clean-%=%) -type l -delete; \