From 663f9bd5f5592fb6670fa20cabdc65dea631739d Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 9 Mar 2012 21:28:44 +0000 Subject: Update Doxygen documentation build scripts to fail if any warnings are generated. --- BuildTests/SingleUSBModeTest/makefile.avr8 | 4 +++- BuildTests/SingleUSBModeTest/makefile.uc3 | 4 +++- BuildTests/SingleUSBModeTest/makefile.xmega | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'BuildTests/SingleUSBModeTest') diff --git a/BuildTests/SingleUSBModeTest/makefile.avr8 b/BuildTests/SingleUSBModeTest/makefile.avr8 index c0c7dbaf9..a7b69b58b 100644 --- a/BuildTests/SingleUSBModeTest/makefile.avr8 +++ b/BuildTests/SingleUSBModeTest/makefile.avr8 @@ -691,7 +691,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: diff --git a/BuildTests/SingleUSBModeTest/makefile.uc3 b/BuildTests/SingleUSBModeTest/makefile.uc3 index 33f2ffd2e..4ffaf2872 100644 --- a/BuildTests/SingleUSBModeTest/makefile.uc3 +++ b/BuildTests/SingleUSBModeTest/makefile.uc3 @@ -454,7 +454,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: diff --git a/BuildTests/SingleUSBModeTest/makefile.xmega b/BuildTests/SingleUSBModeTest/makefile.xmega index b56efbfa1..f594d95b8 100644 --- a/BuildTests/SingleUSBModeTest/makefile.xmega +++ b/BuildTests/SingleUSBModeTest/makefile.xmega @@ -673,7 +673,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: -- cgit v1.2.3