From 8ec531b41a591c13b98cceb42c522a7b912f103a Mon Sep 17 00:00:00 2001 From: Vladislav Meshcheryakov Date: Tue, 16 Apr 2024 18:22:04 +0300 Subject: [PATCH] [Makefile] add clean target Signed-off-by: Vladislav Meshcheryakov --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 45d45a502..9b6ad3487 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,16 @@ build-docker-sh-metadata: build-deb: ./build/makedeb.sh +clean: + rm -rf ./build/debian/*.log + rm -rf ./build/debian/*.substvars + rm -rf ./build/debian/.debhelper/ + rm -rf ./build/debian/changelog + rm -rf ./build/debian/files + rm -rf ./build/debian/tmp/ + rm -rf ./build/go-cache/ + find ./build/debian/ -maxdepth 1 -type d -name "statshouse*" -exec rm -rf {} \; + # if tlgen is not installed, replace tlgen with full path, for example ~/go/src/gitlab.mvk.com/go/vkgo/projects/vktl/cmd/tlgen/tlgen .PHONY: gen gen: