diff options
Diffstat (limited to 'Bootloaders')
-rw-r--r-- | Bootloaders/CDC/makefile | 4 | ||||
-rw-r--r-- | Bootloaders/DFU/makefile | 4 | ||||
-rw-r--r-- | Bootloaders/HID/makefile | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 850d9dfc8..1ebb6f8cf 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 14cf3a46f..078597e07 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 853bcade0..5bbb8708c 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: |