]> git.proxmox.com Git - proxmox-spamassassin.git/commitdiff
buildsys: add distclean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Mar 2021 14:30:05 +0000 (15:30 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Mar 2021 14:30:05 +0000 (15:30 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index c8af2ad785769cb3c6238a3d7f1837a35735926f..c89927936cdb7d8bfb845641b8a60864b163b3bd 100644 (file)
--- 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}