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