aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/ModuleTest
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTests/ModuleTest')
-rw-r--r--BuildTests/ModuleTest/makefile.avr85
-rw-r--r--BuildTests/ModuleTest/makefile.uc34
-rw-r--r--BuildTests/ModuleTest/makefile.xmega4
3 files changed, 10 insertions, 3 deletions
diff --git a/BuildTests/ModuleTest/makefile.avr8 b/BuildTests/ModuleTest/makefile.avr8
index f41470f7a..b94ac50e9 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 ba3ec10ba..3fa866c91 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 054c6c852..a48cb1bef 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: