From feec84ceddf6fdaf17c05de1434b486f095c2f61 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 25 Mar 2021 15:30:05 +0100 Subject: [PATCH] buildsys: add distclean target Signed-off-by: Thomas Lamprecht --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c8af2ad..c899279 100644 --- a/Makefile +++ b/Makefile @@ -87,11 +87,12 @@ update-sa: ${SA_UPDATE_GPG_DIR}/.prepared upload: ${DEB} tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch -CLEANFILES = *~ debian/*~ *.deb proxmox-spamassassin_* updates.tmp ${SA_UPDATE_GPG_DIR} ${OPKGNAME}.tar.gz.* +.PHONY: clean distclean +clean: + rm -rf *~ debian/*~ *.deb proxmox-spamassassin_* updates.tmp ${SA_UPDATE_GPG_DIR} ${OPKGNAME}.tar.gz.* -.PHONY: clean -clean: - rm -rf ${CLEANFILES} +distclean: clean + rm -rf ${OPKGNAME}.* .PHONY: dinstall dinstall: ${DEB}