]> git.proxmox.com Git - pve-access-control.git/commitdiff
buildsys: cleanup and expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 10:05:12 +0000 (12:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 10:37:11 +0000 (12:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index dc2e23d252d24e7c819111a5fcf19c0577af31f5..fb55c24c064403b3f5d4ff7e3b2692de7f00c5fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,8 @@ upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
        tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
-.PHONY: clean
-clean:
-       rm -rf $(PACKAGE)-*/ *.deb *.buildinfo *.changes $(PACKAGE)*.tar.gz *.dsc
-
-.PHONY: distclean
+.PHONY: clean distclean
 distclean: clean
+clean:
+       rm -rf $(PACKAGE)-[0-9]*/
+       rm -f *.dsc *.deb *.buildinfo *.build *.changes $(PACKAGE)*.tar.*