aboutsummaryrefslogtreecommitdiff
path: root/BuildTests/ModuleTest
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-03-09 21:28:44 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-03-09 21:28:44 +0000
commitd977bcaf64f13f01aa67530ff682699c59db20f6 (patch)
tree2cfb714fb0c2ef2251dd30aada2bb40adf16fd0c /BuildTests/ModuleTest
parentc0e26815837ac520f3c288c2466c0702033b42c8 (diff)
Update Doxygen documentation build scripts to fail if any warnings are generated.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2101 d5102386-fcda-11dd-9fdb-3debd5008f28
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 f41470f7..b94ac50e 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 ba3ec10b..3fa866c9 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 054c6c85..a48cb1be 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: