Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git] / LUFA / CodeTemplates / makefile_template.uc3
index 647a956..78fd9f6 100644 (file)
@@ -456,7 +456,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: