Received: from eggs.gnu.org ([208.118.235.92]:44353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwDY9-0002HK-PV for qemu-devel@nongnu.org; Tue, 31 Jul 2012 10:35:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwDY4-0003Vx-1K for qemu-devel@nongnu.org; Tue, 31 Jul 2012 10:35:53 -0400 From: Markus Armbruster References: <1343739695-7757-1-git-send-email-peter.maydell@linaro.org> <87pq7c9fng.fsf@blackfin.pond.sub.org> Date: Tue, 31 Jul 2012 16:35:42 +0200 In-Reply-To: (Peter Maydell's message of "Tue, 31 Jul 2012 15:21:59 +0100") Message-ID: <87k3xk577l.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Makefile: Avoid explicit list of directories in clean target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: patches@linaro.org, qemu-trivial@nongnu.org, Stefan Weil , Stefan Hajnoczi , qemu-devel@nongnu.org, Jan Kiszka Peter Maydell writes: > On 31 July 2012 15:19, Markus Armbruster wrote: >> Peter Maydell 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 {} +".