buildsys: expand clean target

& drop the odd find command execution, just fix your editor to not
sprinkle random files all over the (source) place.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-08 14:22:33 +02:00
parent 761ca9c4f9
commit c2e12db6ba

View File

@ -70,8 +70,7 @@ $(DSC): $(BUILDSRC)
.PHONY: clean
clean:
rm -rf *~ build *.deb *.changes *.buildinfo *.dsc *.tar.gz
find . -name '*~' -exec rm {} ';'
rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
.PHONY: distclean
distclean: clean