Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git] / Projects / LEDNotifier / makefile
index 6abe713..cde0b4e 100644 (file)
@@ -697,7 +697,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: