From 663f9bd5f5592fb6670fa20cabdc65dea631739d Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 9 Mar 2012 21:28:44 +0000 Subject: [PATCH] Update Doxygen documentation build scripts to fail if any warnings are generated. --- Bootloaders/CDC/makefile | 4 +++- Bootloaders/DFU/makefile | 4 +++- Bootloaders/HID/makefile | 4 +++- BuildTests/ModuleTest/makefile.avr8 | 5 ++++- BuildTests/ModuleTest/makefile.uc3 | 4 +++- BuildTests/ModuleTest/makefile.xmega | 4 +++- BuildTests/SingleUSBModeTest/makefile.avr8 | 4 +++- BuildTests/SingleUSBModeTest/makefile.uc3 | 4 +++- BuildTests/SingleUSBModeTest/makefile.xmega | 4 +++- BuildTests/StaticAnalysisTest/makefile | 3 ++- Demos/Device/ClassDriver/AudioInput/makefile | 4 +++- Demos/Device/ClassDriver/AudioOutput/makefile | 4 +++- Demos/Device/ClassDriver/DualVirtualSerial/makefile | 4 +++- Demos/Device/ClassDriver/GenericHID/makefile | 4 +++- Demos/Device/ClassDriver/Joystick/makefile | 4 +++- Demos/Device/ClassDriver/Keyboard/makefile | 4 +++- Demos/Device/ClassDriver/KeyboardMouse/makefile | 4 +++- Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile | 4 +++- Demos/Device/ClassDriver/MIDI/makefile | 4 +++- Demos/Device/ClassDriver/MassStorage/makefile | 4 +++- Demos/Device/ClassDriver/MassStorageKeyboard/makefile | 4 +++- Demos/Device/ClassDriver/Mouse/makefile | 4 +++- Demos/Device/ClassDriver/RNDISEthernet/makefile | 4 +++- Demos/Device/ClassDriver/VirtualSerial/makefile | 4 +++- Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile | 4 +++- Demos/Device/ClassDriver/VirtualSerialMouse/makefile | 4 +++- Demos/Device/Incomplete/Sideshow/makefile | 4 +++- Demos/Device/Incomplete/TestAndMeasurement/makefile | 4 +++- Demos/Device/LowLevel/AudioInput/makefile | 4 +++- Demos/Device/LowLevel/AudioOutput/makefile | 4 +++- Demos/Device/LowLevel/DualVirtualSerial/makefile | 4 +++- Demos/Device/LowLevel/GenericHID/makefile | 4 +++- Demos/Device/LowLevel/Joystick/makefile | 4 +++- Demos/Device/LowLevel/Keyboard/makefile | 4 +++- Demos/Device/LowLevel/KeyboardMouse/makefile | 4 +++- Demos/Device/LowLevel/MIDI/makefile | 4 +++- Demos/Device/LowLevel/MassStorage/makefile | 4 +++- Demos/Device/LowLevel/Mouse/makefile | 4 +++- Demos/Device/LowLevel/RNDISEthernet/makefile | 4 +++- Demos/Device/LowLevel/VirtualSerial/makefile | 4 +++- Demos/DualRole/ClassDriver/MouseHostDevice/makefile | 4 +++- Demos/Host/ClassDriver/AndroidAccessoryHost/makefile | 4 +++- Demos/Host/ClassDriver/AudioInputHost/makefile | 4 +++- Demos/Host/ClassDriver/AudioOutputHost/makefile | 4 +++- Demos/Host/ClassDriver/JoystickHostWithParser/makefile | 4 +++- Demos/Host/ClassDriver/KeyboardHost/makefile | 4 +++- Demos/Host/ClassDriver/KeyboardHostWithParser/makefile | 4 +++- Demos/Host/ClassDriver/MIDIHost/makefile | 4 +++- Demos/Host/ClassDriver/MassStorageHost/makefile | 4 +++- Demos/Host/ClassDriver/MouseHost/makefile | 4 +++- Demos/Host/ClassDriver/MouseHostWithParser/makefile | 4 +++- Demos/Host/ClassDriver/PrinterHost/makefile | 4 +++- Demos/Host/ClassDriver/RNDISEthernetHost/makefile | 4 +++- Demos/Host/ClassDriver/StillImageHost/makefile | 4 +++- Demos/Host/ClassDriver/VirtualSerialHost/makefile | 4 +++- Demos/Host/Incomplete/BluetoothHost/makefile | 4 +++- Demos/Host/LowLevel/AndroidAccessoryHost/makefile | 4 +++- Demos/Host/LowLevel/AudioInputHost/makefile | 4 +++- Demos/Host/LowLevel/AudioOutputHost/makefile | 4 +++- Demos/Host/LowLevel/GenericHIDHost/makefile | 4 +++- Demos/Host/LowLevel/JoystickHostWithParser/makefile | 4 +++- Demos/Host/LowLevel/KeyboardHost/makefile | 4 +++- Demos/Host/LowLevel/KeyboardHostWithParser/makefile | 4 +++- Demos/Host/LowLevel/MIDIHost/makefile | 4 +++- Demos/Host/LowLevel/MassStorageHost/makefile | 4 +++- Demos/Host/LowLevel/MouseHost/makefile | 4 +++- Demos/Host/LowLevel/MouseHostWithParser/makefile | 4 +++- Demos/Host/LowLevel/PrinterHost/makefile | 4 +++- Demos/Host/LowLevel/RNDISEthernetHost/makefile | 4 +++- Demos/Host/LowLevel/StillImageHost/makefile | 4 +++- Demos/Host/LowLevel/VirtualSerialHost/makefile | 4 +++- LUFA/CodeTemplates/makefile_template.avr8 | 4 +++- LUFA/CodeTemplates/makefile_template.uc3 | 4 +++- LUFA/CodeTemplates/makefile_template.xmega | 4 +++- LUFA/makefile | 6 +++++- Projects/AVRISP-MKII/makefile | 4 +++- Projects/Benito/makefile | 4 +++- Projects/HIDReportViewer/makefile | 4 +++- Projects/Incomplete/StandaloneProgrammer/makefile | 4 +++- Projects/LEDNotifier/makefile | 4 +++- Projects/MIDIToneGenerator/makefile | 4 +++- Projects/Magstripe/makefile | 4 +++- Projects/MediaController/makefile | 4 +++- Projects/MissileLauncher/makefile | 4 +++- Projects/RelayBoard/makefile | 4 +++- Projects/TempDataLogger/makefile | 4 +++- Projects/USBtoSerial/makefile | 4 +++- Projects/Webserver/makefile | 4 +++- Projects/XPLAINBridge/makefile | 4 +++- 89 files changed, 269 insertions(+), 89 deletions(-) diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 850d9dfc890..1ebb6f8cfcc 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -694,7 +694,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/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 14cf3a46f77..078597e070b 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -689,7 +689,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/Bootloaders/HID/makefile b/Bootloaders/HID/makefile index 853bcade052..5bbb8708cc8 100644 --- a/Bootloaders/HID/makefile +++ b/Bootloaders/HID/makefile @@ -686,7 +686,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/ModuleTest/makefile.avr8 b/BuildTests/ModuleTest/makefile.avr8 index f41470f7a3c..b94ac50e98b 100644 --- a/BuildTests/ModuleTest/makefile.avr8 +++ b/BuildTests/ModuleTest/makefile.avr8 @@ -707,9 +707,12 @@ 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: rm -rf Documentation diff --git a/BuildTests/ModuleTest/makefile.uc3 b/BuildTests/ModuleTest/makefile.uc3 index ba3ec10ba38..3fa866c919d 100644 --- a/BuildTests/ModuleTest/makefile.uc3 +++ b/BuildTests/ModuleTest/makefile.uc3 @@ -481,7 +481,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/ModuleTest/makefile.xmega b/BuildTests/ModuleTest/makefile.xmega index 054c6c852a7..a48cb1bef84 100644 --- a/BuildTests/ModuleTest/makefile.xmega +++ b/BuildTests/ModuleTest/makefile.xmega @@ -701,7 +701,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.avr8 b/BuildTests/SingleUSBModeTest/makefile.avr8 index c0c7dbaf9b1..a7b69b58b7d 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 33f2ffd2ead..4ffaf2872db 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 b56efbfa1d5..f594d95b8db 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: diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 744120d87ec..474b259794c 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -42,4 +42,5 @@ staticcheck: cppcheck --quiet --inline-suppr --check-config --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH) cppcheck --quiet --inline-suppr --error-exitcode=1 --std=c99 --force --enable=all --inconclusive $(SUPPRESS_WARNINGS:%=--suppress=%) --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH) -%: \ No newline at end of file +%: + \ No newline at end of file diff --git a/Demos/Device/ClassDriver/AudioInput/makefile b/Demos/Device/ClassDriver/AudioInput/makefile index 1763d552fc4..439630c6b9a 100644 --- a/Demos/Device/ClassDriver/AudioInput/makefile +++ b/Demos/Device/ClassDriver/AudioInput/makefile @@ -698,7 +698,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/Demos/Device/ClassDriver/AudioOutput/makefile b/Demos/Device/ClassDriver/AudioOutput/makefile index e00e3e23f70..62c0aad4ab6 100644 --- a/Demos/Device/ClassDriver/AudioOutput/makefile +++ b/Demos/Device/ClassDriver/AudioOutput/makefile @@ -699,7 +699,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/Demos/Device/ClassDriver/DualVirtualSerial/makefile b/Demos/Device/ClassDriver/DualVirtualSerial/makefile index 922437c2311..25828e40d05 100644 --- a/Demos/Device/ClassDriver/DualVirtualSerial/makefile +++ b/Demos/Device/ClassDriver/DualVirtualSerial/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/GenericHID/makefile b/Demos/Device/ClassDriver/GenericHID/makefile index 05f2c9a3bbf..e60ce4c1593 100644 --- a/Demos/Device/ClassDriver/GenericHID/makefile +++ b/Demos/Device/ClassDriver/GenericHID/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/Joystick/makefile b/Demos/Device/ClassDriver/Joystick/makefile index 559ceb05cf6..88bad8e5560 100644 --- a/Demos/Device/ClassDriver/Joystick/makefile +++ b/Demos/Device/ClassDriver/Joystick/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/Keyboard/makefile b/Demos/Device/ClassDriver/Keyboard/makefile index 064c9c91786..1f44e38fd73 100644 --- a/Demos/Device/ClassDriver/Keyboard/makefile +++ b/Demos/Device/ClassDriver/Keyboard/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/KeyboardMouse/makefile b/Demos/Device/ClassDriver/KeyboardMouse/makefile index 430a2b02a59..cfb60e78434 100644 --- a/Demos/Device/ClassDriver/KeyboardMouse/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouse/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile index 48613c993eb..52566b7ec38 100644 --- a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/MIDI/makefile b/Demos/Device/ClassDriver/MIDI/makefile index 910fea1bcf8..b5790490b97 100644 --- a/Demos/Device/ClassDriver/MIDI/makefile +++ b/Demos/Device/ClassDriver/MIDI/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/MassStorage/makefile b/Demos/Device/ClassDriver/MassStorage/makefile index bad1cfa64f2..e24d1a2ee36 100644 --- a/Demos/Device/ClassDriver/MassStorage/makefile +++ b/Demos/Device/ClassDriver/MassStorage/makefile @@ -698,7 +698,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/Demos/Device/ClassDriver/MassStorageKeyboard/makefile b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile index 40cab5e5036..87d40a6a84a 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile @@ -698,7 +698,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/Demos/Device/ClassDriver/Mouse/makefile b/Demos/Device/ClassDriver/Mouse/makefile index a6c468eb4db..63d8f464661 100644 --- a/Demos/Device/ClassDriver/Mouse/makefile +++ b/Demos/Device/ClassDriver/Mouse/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/RNDISEthernet/makefile b/Demos/Device/ClassDriver/RNDISEthernet/makefile index 6ee3a2738e1..d50dc3dbc2d 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/makefile +++ b/Demos/Device/ClassDriver/RNDISEthernet/makefile @@ -713,7 +713,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/Demos/Device/ClassDriver/VirtualSerial/makefile b/Demos/Device/ClassDriver/VirtualSerial/makefile index 3821c0bdf44..c6127869b1d 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/makefile +++ b/Demos/Device/ClassDriver/VirtualSerial/makefile @@ -695,7 +695,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/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile b/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile index e4a7187c1a0..1b211680a3f 100644 --- a/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile +++ b/Demos/Device/ClassDriver/VirtualSerialMassStorage/makefile @@ -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: diff --git a/Demos/Device/ClassDriver/VirtualSerialMouse/makefile b/Demos/Device/ClassDriver/VirtualSerialMouse/makefile index d85f9b83123..b918197ddf2 100644 --- a/Demos/Device/ClassDriver/VirtualSerialMouse/makefile +++ b/Demos/Device/ClassDriver/VirtualSerialMouse/makefile @@ -695,7 +695,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/Demos/Device/Incomplete/Sideshow/makefile b/Demos/Device/Incomplete/Sideshow/makefile index 7b106c806a7..eee6cf80712 100644 --- a/Demos/Device/Incomplete/Sideshow/makefile +++ b/Demos/Device/Incomplete/Sideshow/makefile @@ -699,7 +699,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/Demos/Device/Incomplete/TestAndMeasurement/makefile b/Demos/Device/Incomplete/TestAndMeasurement/makefile index d782f6e3c77..ff83d824837 100644 --- a/Demos/Device/Incomplete/TestAndMeasurement/makefile +++ b/Demos/Device/Incomplete/TestAndMeasurement/makefile @@ -695,7 +695,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/Demos/Device/LowLevel/AudioInput/makefile b/Demos/Device/LowLevel/AudioInput/makefile index 20d0785c6e8..19be3658e86 100644 --- a/Demos/Device/LowLevel/AudioInput/makefile +++ b/Demos/Device/LowLevel/AudioInput/makefile @@ -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: diff --git a/Demos/Device/LowLevel/AudioOutput/makefile b/Demos/Device/LowLevel/AudioOutput/makefile index c28cddf42d9..604cbf09946 100644 --- a/Demos/Device/LowLevel/AudioOutput/makefile +++ b/Demos/Device/LowLevel/AudioOutput/makefile @@ -698,7 +698,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/Demos/Device/LowLevel/DualVirtualSerial/makefile b/Demos/Device/LowLevel/DualVirtualSerial/makefile index 4c1a625cb8d..3040859043e 100644 --- a/Demos/Device/LowLevel/DualVirtualSerial/makefile +++ b/Demos/Device/LowLevel/DualVirtualSerial/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/GenericHID/makefile b/Demos/Device/LowLevel/GenericHID/makefile index cadac8a24ac..3fb2175e150 100644 --- a/Demos/Device/LowLevel/GenericHID/makefile +++ b/Demos/Device/LowLevel/GenericHID/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/Joystick/makefile b/Demos/Device/LowLevel/Joystick/makefile index 2faa0709197..b16fc5a02c8 100644 --- a/Demos/Device/LowLevel/Joystick/makefile +++ b/Demos/Device/LowLevel/Joystick/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/Keyboard/makefile b/Demos/Device/LowLevel/Keyboard/makefile index 6cc717b1c98..44de3a8cbd1 100644 --- a/Demos/Device/LowLevel/Keyboard/makefile +++ b/Demos/Device/LowLevel/Keyboard/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/KeyboardMouse/makefile b/Demos/Device/LowLevel/KeyboardMouse/makefile index 7bbb9cd36e4..7a38dfc44da 100644 --- a/Demos/Device/LowLevel/KeyboardMouse/makefile +++ b/Demos/Device/LowLevel/KeyboardMouse/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile index 0281d4a5d58..140b1050a0b 100644 --- a/Demos/Device/LowLevel/MIDI/makefile +++ b/Demos/Device/LowLevel/MIDI/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/MassStorage/makefile b/Demos/Device/LowLevel/MassStorage/makefile index a6b2f56703f..f7fa7153034 100644 --- a/Demos/Device/LowLevel/MassStorage/makefile +++ b/Demos/Device/LowLevel/MassStorage/makefile @@ -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: diff --git a/Demos/Device/LowLevel/Mouse/makefile b/Demos/Device/LowLevel/Mouse/makefile index adb6d6be647..5a5dd99e82b 100644 --- a/Demos/Device/LowLevel/Mouse/makefile +++ b/Demos/Device/LowLevel/Mouse/makefile @@ -694,7 +694,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/Demos/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile index 99c7e33246c..afc5cdcc750 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/makefile +++ b/Demos/Device/LowLevel/RNDISEthernet/makefile @@ -713,7 +713,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/Demos/Device/LowLevel/VirtualSerial/makefile b/Demos/Device/LowLevel/VirtualSerial/makefile index a5e0230b368..fdef673b454 100644 --- a/Demos/Device/LowLevel/VirtualSerial/makefile +++ b/Demos/Device/LowLevel/VirtualSerial/makefile @@ -694,7 +694,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/Demos/DualRole/ClassDriver/MouseHostDevice/makefile b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile index 488b591706a..fddf476c766 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/makefile +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/makefile @@ -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: diff --git a/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile b/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile index a54879ffc91..6aec035414b 100644 --- a/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile +++ b/Demos/Host/ClassDriver/AndroidAccessoryHost/makefile @@ -693,7 +693,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/Demos/Host/ClassDriver/AudioInputHost/makefile b/Demos/Host/ClassDriver/AudioInputHost/makefile index 09283074e63..8ba2b734c58 100644 --- a/Demos/Host/ClassDriver/AudioInputHost/makefile +++ b/Demos/Host/ClassDriver/AudioInputHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/AudioOutputHost/makefile b/Demos/Host/ClassDriver/AudioOutputHost/makefile index 8b3d886a68b..1acda450125 100644 --- a/Demos/Host/ClassDriver/AudioOutputHost/makefile +++ b/Demos/Host/ClassDriver/AudioOutputHost/makefile @@ -695,7 +695,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/Demos/Host/ClassDriver/JoystickHostWithParser/makefile b/Demos/Host/ClassDriver/JoystickHostWithParser/makefile index 8829ab81347..1fa6d1355ef 100644 --- a/Demos/Host/ClassDriver/JoystickHostWithParser/makefile +++ b/Demos/Host/ClassDriver/JoystickHostWithParser/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/KeyboardHost/makefile b/Demos/Host/ClassDriver/KeyboardHost/makefile index 854e98d2ad4..760aad6926d 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/makefile +++ b/Demos/Host/ClassDriver/KeyboardHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile index be1380201d6..4a137483fbd 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/MIDIHost/makefile b/Demos/Host/ClassDriver/MIDIHost/makefile index 371772b9ece..b346a2057fb 100644 --- a/Demos/Host/ClassDriver/MIDIHost/makefile +++ b/Demos/Host/ClassDriver/MIDIHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/MassStorageHost/makefile b/Demos/Host/ClassDriver/MassStorageHost/makefile index c3aae340b0c..9b166caaf03 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/makefile +++ b/Demos/Host/ClassDriver/MassStorageHost/makefile @@ -693,7 +693,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/Demos/Host/ClassDriver/MouseHost/makefile b/Demos/Host/ClassDriver/MouseHost/makefile index 26bb66143b1..260b6e47b5d 100644 --- a/Demos/Host/ClassDriver/MouseHost/makefile +++ b/Demos/Host/ClassDriver/MouseHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/MouseHostWithParser/makefile b/Demos/Host/ClassDriver/MouseHostWithParser/makefile index b4509c871ba..cb8da5e9585 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/makefile +++ b/Demos/Host/ClassDriver/MouseHostWithParser/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/PrinterHost/makefile b/Demos/Host/ClassDriver/PrinterHost/makefile index e61f4ef18f9..63bf5f444f3 100644 --- a/Demos/Host/ClassDriver/PrinterHost/makefile +++ b/Demos/Host/ClassDriver/PrinterHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/RNDISEthernetHost/makefile b/Demos/Host/ClassDriver/RNDISEthernetHost/makefile index 66fff0d92ac..5c6885265a5 100644 --- a/Demos/Host/ClassDriver/RNDISEthernetHost/makefile +++ b/Demos/Host/ClassDriver/RNDISEthernetHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/StillImageHost/makefile b/Demos/Host/ClassDriver/StillImageHost/makefile index f0d6f3ab1ac..45b44caf7e4 100644 --- a/Demos/Host/ClassDriver/StillImageHost/makefile +++ b/Demos/Host/ClassDriver/StillImageHost/makefile @@ -692,7 +692,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/Demos/Host/ClassDriver/VirtualSerialHost/makefile b/Demos/Host/ClassDriver/VirtualSerialHost/makefile index b313f278cab..9fa9928387f 100644 --- a/Demos/Host/ClassDriver/VirtualSerialHost/makefile +++ b/Demos/Host/ClassDriver/VirtualSerialHost/makefile @@ -692,7 +692,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/Demos/Host/Incomplete/BluetoothHost/makefile b/Demos/Host/Incomplete/BluetoothHost/makefile index b6b23397125..1b3b479b07e 100644 --- a/Demos/Host/Incomplete/BluetoothHost/makefile +++ b/Demos/Host/Incomplete/BluetoothHost/makefile @@ -701,7 +701,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/Demos/Host/LowLevel/AndroidAccessoryHost/makefile b/Demos/Host/LowLevel/AndroidAccessoryHost/makefile index 55e6645c743..c4d435a311d 100644 --- a/Demos/Host/LowLevel/AndroidAccessoryHost/makefile +++ b/Demos/Host/LowLevel/AndroidAccessoryHost/makefile @@ -695,7 +695,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/Demos/Host/LowLevel/AudioInputHost/makefile b/Demos/Host/LowLevel/AudioInputHost/makefile index d19c3b9d2c3..01764ba1e4f 100644 --- a/Demos/Host/LowLevel/AudioInputHost/makefile +++ b/Demos/Host/LowLevel/AudioInputHost/makefile @@ -692,7 +692,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/Demos/Host/LowLevel/AudioOutputHost/makefile b/Demos/Host/LowLevel/AudioOutputHost/makefile index c1f16d170a8..42f7392a68e 100644 --- a/Demos/Host/LowLevel/AudioOutputHost/makefile +++ b/Demos/Host/LowLevel/AudioOutputHost/makefile @@ -695,7 +695,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/Demos/Host/LowLevel/GenericHIDHost/makefile b/Demos/Host/LowLevel/GenericHIDHost/makefile index 2b5fd3cde60..18ef6dbb9f3 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/makefile +++ b/Demos/Host/LowLevel/GenericHIDHost/makefile @@ -692,7 +692,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/Demos/Host/LowLevel/JoystickHostWithParser/makefile b/Demos/Host/LowLevel/JoystickHostWithParser/makefile index ad4717d8336..3775eb00d2e 100644 --- a/Demos/Host/LowLevel/JoystickHostWithParser/makefile +++ b/Demos/Host/LowLevel/JoystickHostWithParser/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/KeyboardHost/makefile b/Demos/Host/LowLevel/KeyboardHost/makefile index f2e6ac306ef..f5eb441e7c3 100644 --- a/Demos/Host/LowLevel/KeyboardHost/makefile +++ b/Demos/Host/LowLevel/KeyboardHost/makefile @@ -692,7 +692,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/Demos/Host/LowLevel/KeyboardHostWithParser/makefile b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile index c33b9297c2c..63ada8b5ce8 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/MIDIHost/makefile b/Demos/Host/LowLevel/MIDIHost/makefile index 3daa0cec48d..5881bace1a5 100644 --- a/Demos/Host/LowLevel/MIDIHost/makefile +++ b/Demos/Host/LowLevel/MIDIHost/makefile @@ -692,7 +692,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/Demos/Host/LowLevel/MassStorageHost/makefile b/Demos/Host/LowLevel/MassStorageHost/makefile index da4bb76ba8c..c4860611a3c 100644 --- a/Demos/Host/LowLevel/MassStorageHost/makefile +++ b/Demos/Host/LowLevel/MassStorageHost/makefile @@ -694,7 +694,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/Demos/Host/LowLevel/MouseHost/makefile b/Demos/Host/LowLevel/MouseHost/makefile index 9e7fc90cc04..8b370647681 100644 --- a/Demos/Host/LowLevel/MouseHost/makefile +++ b/Demos/Host/LowLevel/MouseHost/makefile @@ -692,7 +692,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/Demos/Host/LowLevel/MouseHostWithParser/makefile b/Demos/Host/LowLevel/MouseHostWithParser/makefile index 46d2fadfc95..c5df80e31d4 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/makefile +++ b/Demos/Host/LowLevel/MouseHostWithParser/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/PrinterHost/makefile b/Demos/Host/LowLevel/PrinterHost/makefile index c30fb650a57..42b7a77b0ba 100644 --- a/Demos/Host/LowLevel/PrinterHost/makefile +++ b/Demos/Host/LowLevel/PrinterHost/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/RNDISEthernetHost/makefile b/Demos/Host/LowLevel/RNDISEthernetHost/makefile index d640a40536b..0830199ff68 100644 --- a/Demos/Host/LowLevel/RNDISEthernetHost/makefile +++ b/Demos/Host/LowLevel/RNDISEthernetHost/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/StillImageHost/makefile b/Demos/Host/LowLevel/StillImageHost/makefile index 9aabddd4e27..09e3f59c8b6 100644 --- a/Demos/Host/LowLevel/StillImageHost/makefile +++ b/Demos/Host/LowLevel/StillImageHost/makefile @@ -693,7 +693,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/Demos/Host/LowLevel/VirtualSerialHost/makefile b/Demos/Host/LowLevel/VirtualSerialHost/makefile index 2daa5ea9915..21e94637d1b 100644 --- a/Demos/Host/LowLevel/VirtualSerialHost/makefile +++ b/Demos/Host/LowLevel/VirtualSerialHost/makefile @@ -692,7 +692,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/LUFA/CodeTemplates/makefile_template.avr8 b/LUFA/CodeTemplates/makefile_template.avr8 index 7fd19390bb3..7f8534a3bd5 100644 --- a/LUFA/CodeTemplates/makefile_template.avr8 +++ b/LUFA/CodeTemplates/makefile_template.avr8 @@ -683,7 +683,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/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3 index 647a956c8f6..78fd9f69cb7 100644 --- a/LUFA/CodeTemplates/makefile_template.uc3 +++ b/LUFA/CodeTemplates/makefile_template.uc3 @@ -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: diff --git a/LUFA/CodeTemplates/makefile_template.xmega b/LUFA/CodeTemplates/makefile_template.xmega index 3c09effcae4..8c0f0db6cc8 100644 --- a/LUFA/CodeTemplates/makefile_template.xmega +++ b/LUFA/CodeTemplates/makefile_template.xmega @@ -675,7 +675,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/LUFA/makefile b/LUFA/makefile index bfe9b8a0461..9e68d3cb3cf 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -77,7 +77,11 @@ ifeq ($(origin LUFA_PATH), undefined) doxygen: @echo Generating LUFA Library Documentation... - ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - + + @if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - 2>&1 | grep "warning" ;); then \ + exit 1; \ + fi; + @echo Documentation Generation Complete. clean_doxygen: diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index 475ec714618..d83fe1d64ed 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -724,7 +724,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/Projects/Benito/makefile b/Projects/Benito/makefile index d1955e380b8..eb8b9a34a01 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -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: diff --git a/Projects/HIDReportViewer/makefile b/Projects/HIDReportViewer/makefile index a39e9333782..e4e0193ae88 100644 --- a/Projects/HIDReportViewer/makefile +++ b/Projects/HIDReportViewer/makefile @@ -692,7 +692,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/Projects/Incomplete/StandaloneProgrammer/makefile b/Projects/Incomplete/StandaloneProgrammer/makefile index f56969701b9..6b9b763c214 100644 --- a/Projects/Incomplete/StandaloneProgrammer/makefile +++ b/Projects/Incomplete/StandaloneProgrammer/makefile @@ -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: diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile index 6abe713f1cf..cde0b4e24f1 100644 --- a/Projects/LEDNotifier/makefile +++ b/Projects/LEDNotifier/makefile @@ -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: diff --git a/Projects/MIDIToneGenerator/makefile b/Projects/MIDIToneGenerator/makefile index 768b61253d3..60963e49cc6 100644 --- a/Projects/MIDIToneGenerator/makefile +++ b/Projects/MIDIToneGenerator/makefile @@ -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: diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 22442bcf875..9184d910926 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -709,7 +709,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/Projects/MediaController/makefile b/Projects/MediaController/makefile index 9efa473d97d..98eeb5b3bd4 100644 --- a/Projects/MediaController/makefile +++ b/Projects/MediaController/makefile @@ -695,7 +695,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/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 45f438a3741..3de086271e5 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/makefile @@ -693,7 +693,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/Projects/RelayBoard/makefile b/Projects/RelayBoard/makefile index 1ea3902acf4..5ff62f98d57 100644 --- a/Projects/RelayBoard/makefile +++ b/Projects/RelayBoard/makefile @@ -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: diff --git a/Projects/TempDataLogger/makefile b/Projects/TempDataLogger/makefile index d0917fb427f..f79398af986 100644 --- a/Projects/TempDataLogger/makefile +++ b/Projects/TempDataLogger/makefile @@ -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: diff --git a/Projects/USBtoSerial/makefile b/Projects/USBtoSerial/makefile index ed2b825f83d..64f625da688 100644 --- a/Projects/USBtoSerial/makefile +++ b/Projects/USBtoSerial/makefile @@ -698,7 +698,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/Projects/Webserver/makefile b/Projects/Webserver/makefile index a8724412ec6..7866604e1ff 100644 --- a/Projects/Webserver/makefile +++ b/Projects/Webserver/makefile @@ -736,7 +736,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/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile index 28e47eb79d6..c6de2769fbd 100644 --- a/Projects/XPLAINBridge/makefile +++ b/Projects/XPLAINBridge/makefile @@ -723,7 +723,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: