]> git.proxmox.com Git - libxdgmime-perl.git/commitdiff
buildsys: expand clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Jun 2023 14:12:20 +0000 (16:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Jun 2023 14:12:20 +0000 (16:12 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 74e1edc07e72e9f3ddcb2f1f597f4af0418f1483..c4f8f7d1e5095cd802348cd1cfae172eb1988ceb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,12 +50,10 @@ upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
        tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
 
-
-CLEANFILES = *~ debian/*~ *.deb $(BUILDSRC) libxdgmime-perl* *.buildinfo *.build *.dsc *tar.?z
-
 .PHONY: clean
-clean: 
-       rm -rf $(CLEANFILES)
+clean:
+       rm -rf build $(PACKAGE)-[0-9]*/
+       rm -f *.deb *.buildinfo *.build *.dsc *.changes $(PACKAGE)*tar*
 
 .PHONY: dinstall
 dinstall: $(DEB)