]> git.donarmstrong.com Git - lilypond.git/commitdiff
* input/regression/GNUmakefile (local_delete): use `find` together
authorhjunes <hjunes>
Wed, 4 May 2005 08:56:38 +0000 (08:56 +0000)
committerhjunes <hjunes>
Wed, 4 May 2005 08:56:38 +0000 (08:56 +0000)
  with `xargs` to avoid too long argument-lists in cmd line.

ChangeLog
input/regression/GNUmakefile

index 9b5cdca03153c90352b2ff2dace42d7441e3d340..e00226195fb132762e0bb857b0ae949eb4b874c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-04  Heikki Junes  <hjunes@cc.hut.fi>
+
+       * input/regression/GNUmakefile (local_delete): use `find` together 
+       with `xargs` to avoid too long argument-lists in cmd line.
+
 2005-05-04  Graham Percival  <gperlist@shaw.ca>
 
        * Documentation/user/introduction.itely: updates "About this manual".
index a0db49332a2dcd6c759ea6253056a373ac3b92f4..01100469504fc73bcf3e832ab7349feb693d6486 100644 (file)
@@ -8,9 +8,7 @@ TITLE=LilyPond Regression Tests
 
 local-clean: local-delete
 
-# have to do it in 2 steps to prevent
-# argument-list too long.
+# use `find` together with `xargs` to avoid too long argument-lists.
 local-delete:
-       rm -f $(outdir)/lily-1*
-       rm -f $(outdir)/*
+       $(FIND) $(outdir)/ -empty -name '*' | xargs rm -f