diff options
Diffstat (limited to 'Bootloaders/HID/makefile')
-rw-r--r-- | Bootloaders/HID/makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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: |