]> git.proxmox.com Git - proxmox-mailgateway.git/blobdiff - Makefile
buildsys: safer clean target
[proxmox-mailgateway.git] / Makefile
index 292ef821937e9e5fbeb10816cbec6fa3869cfbbb..bd539fc8808523d04e3c8bde9a440c736d535920 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,5 +46,5 @@ upload: $(DEBS)
        tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
 
 clean:
-       rm -rf $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar.* *.deb *.dsc *build *.buildinfo *.changes
-       find . -name '*~' -exec rm {} ';'
+       rm -rf $(PACKAGE)-[0-9]*/
+       rm -f $(PACKAGE)*.tar.* *.deb *.dsc *build *.buildinfo *.changes