diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 850d9dfc89..1ebb6f8cfc 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 14cf3a46f7..078597e070 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 853bcade05..5bbb8708cc 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 f41470f7a3..b94ac50e98 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 ba3ec10ba3..3fa866c919 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 054c6c852a..a48cb1bef8 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 c0c7dbaf9b..a7b69b58b7 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 33f2ffd2ea..4ffaf2872d 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 b56efbfa1d..f594d95b8d 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 744120d87e..474b259794 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 1763d552fc..439630c6b9 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 e00e3e23f7..62c0aad4ab 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 922437c231..25828e40d0 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 05f2c9a3bb..e60ce4c159 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 559ceb05cf..88bad8e556 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 064c9c9178..1f44e38fd7 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 430a2b02a5..cfb60e7843 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 48613c993e..52566b7ec3 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 910fea1bcf..b5790490b9 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 bad1cfa64f..e24d1a2ee3 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 40cab5e503..87d40a6a84 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 a6c468eb4d..63d8f46466 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 6ee3a2738e..d50dc3dbc2 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 3821c0bdf4..c6127869b1 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 e4a7187c1a..1b211680a3 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 d85f9b8312..b918197ddf 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 7b106c806a..eee6cf8071 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 d782f6e3c7..ff83d82483 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 20d0785c6e..19be3658e8 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 c28cddf42d..604cbf0994 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 4c1a625cb8..3040859043 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 cadac8a24a..3fb2175e15 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 2faa070919..b16fc5a02c 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 6cc717b1c9..44de3a8cbd 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 7bbb9cd36e..7a38dfc44d 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 0281d4a5d5..140b1050a0 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 a6b2f56703..f7fa715303 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 adb6d6be64..5a5dd99e82 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 99c7e33246..afc5cdcc75 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 a5e0230b36..fdef673b45 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 488b591706..fddf476c76 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 a54879ffc9..6aec035414 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 09283074e6..8ba2b734c5 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 8b3d886a68..1acda45012 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 8829ab8134..1fa6d1355e 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 854e98d2ad..760aad6926 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 be1380201d..4a137483fb 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 371772b9ec..b346a2057f 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 c3aae340b0..9b166caaf0 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 26bb66143b..260b6e47b5 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 b4509c871b..cb8da5e958 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 e61f4ef18f..63bf5f444f 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 66fff0d92a..5c6885265a 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 f0d6f3ab1a..45b44caf7e 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 b313f278ca..9fa9928387 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 b6b2339712..1b3b479b07 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 55e6645c74..c4d435a311 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 d19c3b9d2c..01764ba1e4 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 c1f16d170a..42f7392a68 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 2b5fd3cde6..18ef6dbb9f 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 ad4717d833..3775eb00d2 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 f2e6ac306e..f5eb441e7c 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 c33b9297c2..63ada8b5ce 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 3daa0cec48..5881bace1a 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 da4bb76ba8..c4860611a3 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 9e7fc90cc0..8b37064768 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 46d2fadfc9..c5df80e31d 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 c30fb650a5..42b7a77b0b 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 d640a40536..0830199ff6 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 9aabddd4e2..09e3f59c8b 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 2daa5ea991..21e94637d1 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 7fd19390bb..7f8534a3bd 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 647a956c8f..78fd9f69cb 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 3c09effcae..8c0f0db6cc 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 bfe9b8a046..9e68d3cb3c 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 475ec71461..d83fe1d64e 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 d1955e380b..eb8b9a34a0 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 a39e933378..e4e0193ae8 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 f56969701b..6b9b763c21 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 6abe713f1c..cde0b4e24f 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 768b61253d..60963e49cc 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 22442bcf87..9184d91092 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 9efa473d97..98eeb5b3bd 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 45f438a374..3de086271e 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 1ea3902acf..5ff62f98d5 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 d0917fb427..f79398af98 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 ed2b825f83..64f625da68 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 a8724412ec..7866604e1f 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 28e47eb79d..c6de2769fb 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: