|
From: | Markus Armbruster |
Subject: | Re: [Qemu-trivial] [Qemu-devel] [PATCH] Makefile: Avoid explicit list of directories in clean target |
Date: | Tue, 31 Jul 2012 16:35:42 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Peter Maydell <address@hidden> writes: > On 31 July 2012 15:19, Markus Armbruster <address@hidden> wrote: >> Peter Maydell <address@hidden> writes: >>> + find . -name '*.[od]' | xargs rm -f >>> + rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod >>> *~ */*~ >> >> Shit happens if you somehow manage to create a "mean" file name in the >> build tree. Sure you don't want to -print0 | xargs -0? > > -print0 isn't POSIX, so I wasn't sure it would be present on all > our platforms. (It's probably fairly safe, though...) Another option is "-exec rm {} +".
[Prev in Thread] | Current Thread | [Next in Thread] |