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