catch the step edit region if it goes away and prepare to use a new one; step edit...
[ardour.git] / manual / Makefile
index d45d477679eeced75209bf9e3436676ede7998c0..19085e10198c5ff62d46a31e0936ba9f429ccf42 100644 (file)
@@ -51,7 +51,7 @@ test::
 .PHONY : test
 
 format:: test
-       @for file in `find xml/*.xml`; \
+       @for file in `find xml/ -name '*.xml' -type f`; \
                do xmlformat/xmlformat.pl --in-place --backup .bak \
                --config-file xmlformat/xmlformat-ardour.conf $$file; \
                done
@@ -60,6 +60,8 @@ format:: test
 
 clean::
        @rm -rf $(OUTDIR)
+       @for file in `find xml/ -name '*.bak' -type f`; do \
+               rm $$file; done
 
 .PHONY : clean