Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git] / Bootloaders / DFU / makefile
index 14cf3a4..078597e 100644 (file)
@@ -689,7 +689,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: