Author: bernhard
Date: Wed Feb  1 02:19:11 2006
New Revision: 11393

Modified:
   trunk/config/gen/makefiles/root.in
Log:
Try to simplify the 'test-clean' target.


Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in  (original)
+++ trunk/config/gen/makefiles/root.in  Wed Feb  1 02:19:11 2006
@@ -1474,56 +1474,35 @@ dynext-clean :
                "*.def"
 
 # Remove files generated by the test suite
+# XXX Is there a danger of too long command lines in the $(RM_F) commands, or 
it there an automatic xargs?
 test-clean :
        $(RM_F) \
-               "t/op/*.pasm" \
-               "t/op/*.pir" \
-               "t/op/*.pbc" \
-               "t/op/*.out" \
-               "t/op/*.o" \
-               "t/op/*.stabs.s"
-       $(RM_F) \
-               "t/compilers/pge/*.pir" \
-               "t/compilers/pge/*.pbc" \
-               "t/compilers/pge/*.pasm" \
-               "t/compilers/pge/*.out" \
-               "t/compilers/pge/p5regexp/*.pir" \
-               "t/compilers/pge/p6rules/*.pir" \
-               "t/compilers/pge/p6rules/*.pbc" \
-               "t/compilers/pge/p6rules/*.pasm" \
-               "t/compilers/pge/p6rules/*.out" \
-               "t/compilers/tge/*.pir" \
-               "t/compilers/imcc/*/*.out" \
-               "t/compilers/imcc/*/*.pir" \
-               "t/compilers/imcc/*/*.pbc" \
-               "t/compilers/imcc/*/*.o" \
-               "t/compilers/imcc/*/*.stabs.s" \
-               "t/compilers/imcc/*/*.pasm"
-       $(RM_F) \
-               "t/pmc/*.pasm" \
-               "t/pmc/*.pir" \
-               "t/pmc/*.pbc" \
-               "t/pmc/*.out" \
-               "t/pmc/*.o" \
-               "t/pmc/*.stabs.s" \
-               "t/examples/*.pasm" \
-               "t/examples/*.past" \
-               "t/examples/*.pir" \
-               "t/stress/*.pasm" \
-               "t/stress/*.pbc" \
-               "t/stress/*.out" \
-               "t/stress/*.o" \
-               "t/stress/*.stabs.s" \
-               "t/src/*.c" \
-               "t/tools/*.pir" \
-               "t/tools/*.pbc" \
-               "t/library/*.pir" \
-               "t/library/*.pbc" \
-               "t/examples/*.pasm" \
-               "t/examples/*.past" \
-               "t/examples/*.pir" \
-               "t/benchmark/*.pir" \
-               "t/benchmark/*.pasm"
+    "t/compilers/*/*.out" \
+    "t/compilers/*/*.pasm" \
+    "t/compilers/*/*.pbc" \
+    "t/compilers/*/*.pir" \
+    "t/compilers/*/*.stabs.s"
+       $(RM_F) \
+    "t/compilers/*/*/*.out" \
+    "t/compilers/*/*/*.pasm" \
+    "t/compilers/*/*/*.pbc" \
+    "t/compilers/*/*/*.pir" \
+    "t/compilers/*/*/*.stabs.s" 
+       $(RM_F) \
+    "t/examples/past/*.past" 
+       $(RM_F) \
+    "t/*/*.o" \
+    "t/*/*.out" \
+    "t/*/*.pasm" \
+    "t/*/*.pir" \
+    "t/*/*.stabs.s"
+       $(RM_F) \
+    "t/library/*.pbc" \
+    "t/pmc/*.pbc" \
+    "t/stress/*.pbc" \
+    "t/tools/*.pbc"
+       $(RM_F) \
+    "t/src/*.c"
 
 imcc-clean:
        $(RM_F) \

Reply via email to