]> git.proxmox.com Git - corosync-pve.git/blobdiff - Makefile
improve cleanup target
[corosync-pve.git] / Makefile
index bab2a75ca9dbedbffd31b374b130a860c8d2a445..894a0401cafc63260f1ba2526bf37dd39cb6e14f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,7 @@ distclean: clean
 .PHONY: clean
 clean:
        rm -rf *_${ARCH}.deb *.changes *.dsc ${CSDIR} corosync_${CSVERSION}-${CSRELEASE}.tar.gz
+       find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall
 dinstall: ${DEBS}