Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git] / BuildTests / ModuleTest / makefile.xmega
index 054c6c8..a48cb1b 100644 (file)
@@ -701,7 +701,9 @@ clean_list :
 \r
 doxygen:\r
        @echo Generating Project Documentation \($(TARGET)\)...\r
-       @doxygen Doxygen.conf\r
+       @if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \\r
+         exit 1; \\r
+       fi;\r
        @echo Documentation Generation Complete.\r
 \r
 clean_doxygen:\r