Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git] / Demos / Host / ClassDriver / AndroidAccessoryHost / makefile
index a54879f..6aec035 100644 (file)
@@ -693,7 +693,9 @@ clean_list :
 
 doxygen:
        @echo Generating Project Documentation \($(TARGET)\)...
-       @doxygen Doxygen.conf
+       @if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
+         exit 1; \
+       fi;
        @echo Documentation Generation Complete.
 
 clean_doxygen: