From 181b19e2efa0b53ccc223311330e57147efa14c1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 18 May 2023 12:46:27 +0200 Subject: [PATCH] buildsys: add clean target for common package Signed-off-by: Thomas Lamprecht --- common/pkg/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/pkg/Makefile b/common/pkg/Makefile index 9d7a558..7232f0c 100644 --- a/common/pkg/Makefile +++ b/common/pkg/Makefile @@ -63,3 +63,7 @@ upload: $(DEB) # check if working directory is clean git diff --exit-code --stat && git diff --exit-code --stat --staged tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pve,pmg --dist $(DEB_DISTRIBUTION) + +clean: + rm -f *.deb *.dsc *.tar.* *.build *.buildinfo *.changes + rm -rf $(PACKAGE)-[0-9]*/