Make Doxygen fail for any Doxygen output other than unsupported tags (as these are...
[pub/lufa.git] / Demos / Host / LowLevel / MouseHost / makefile
index 9e7fc90..694ab18 100644 (file)
@@ -692,7 +692,9 @@ clean_list :
 
 doxygen:
        @echo Generating Project Documentation \($(TARGET)\)...
-       @doxygen Doxygen.conf
+       @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \
+         exit 1; \
+       fi;
        @echo Documentation Generation Complete.
 
 clean_doxygen: