aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/CodeTemplates/makefile_template.xmega
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/CodeTemplates/makefile_template.xmega')
-rw-r--r--LUFA/CodeTemplates/makefile_template.xmega4
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.xmega b/LUFA/CodeTemplates/makefile_template.xmega
index 3c09effca..8c0f0db6c 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: