]> git.donarmstrong.com Git - lilypond.git/commitdiff
simpler Documentation/user/ clean
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 13 Dec 2006 13:33:24 +0000 (14:33 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 13 Dec 2006 13:33:24 +0000 (14:33 +0100)
Documentation/user/GNUmakefile

index e950f2cbf32be75e014b3aecce3f210355eec5c3..997476264700853b77981595bc5da1307cdee7dc 100644 (file)
@@ -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