add incoming MIDI stream debugging
[ardour.git] / manual / Makefile
index 76965262c2a5e0d39dd4c6adbb8067b36e07d69e..19085e10198c5ff62d46a31e0936ba9f429ccf42 100644 (file)
@@ -10,6 +10,9 @@ XSLTPROC ?= xsltproc
 #PWD             = $(shell pwd)
 
 help::
+       @echo " WARNING: The Ardour Scons build script must be run before "
+       @echo " building the manual. "
+       @echo
        @echo " The Following is a list of supported build targets:"
        @echo
        @echo " html:"
@@ -48,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
@@ -57,6 +60,8 @@ format:: test
 
 clean::
        @rm -rf $(OUTDIR)
+       @for file in `find xml/ -name '*.bak' -type f`; do \
+               rm $$file; done
 
 .PHONY : clean