From: Han-Wen Nienhuys Date: Wed, 13 Dec 2006 13:33:24 +0000 (+0100) Subject: simpler Documentation/user/ clean X-Git-Tag: release/2.11.3-1~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=212ee16eb998eacdee0f7eb3b83a6c66699bd843;p=lilypond.git simpler Documentation/user/ clean --- diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile index e950f2cbf3..9974762647 100644 --- a/Documentation/user/GNUmakefile +++ b/Documentation/user/GNUmakefile @@ -274,6 +274,6 @@ $(outdir)/interfaces.itexi: dummy local-clean: local-delete +# use `find` together with `xargs` to avoid too long argument-lists. local-delete: - find $(outdir)/ -name 'lily-[0-9a-f]*' | xargs rm -f - -rm -f $(outdir)/* + $(FIND) $(outdir)/ -empty -name '*' | xargs rm -f