]> git.proxmox.com Git - pmg-api.git/blobdiff - Makefile
buildsys: expand clean target
[pmg-api.git] / Makefile
index 6846958fb78a35141ef17ad8bf5969e750b2b281..3a920a9da02ff45849734c0495667baec4c18577 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,8 @@ check:
 .PHONY: clean distclean
 distclean: clean
 clean:
-       rm -rf *.deb *.changes *.buildinfo $(BUILDDIR) $(PACKAGE)*.tar.gz *.dsc
+       rm -rf $(PACKAGE)-[0-9]*/
+       rm -rf *.deb *.changes *.build *.buildinfo $(PACKAGE)*tar* *.dsc
 
 .PHONY: dinstall
 dinstall: $(DEB)