aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-09 21:28:44 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-09 21:28:44 +0000
commit663f9bd5f5592fb6670fa20cabdc65dea631739d (patch)
tree2cfb714fb0c2ef2251dd30aada2bb40adf16fd0c /BuildTests
parent62c5a14fbba5bbd726c3ce536cc0923a34a79f66 (diff)
downloadlufa-663f9bd5f5592fb6670fa20cabdc65dea631739d.tar.gz
lufa-663f9bd5f5592fb6670fa20cabdc65dea631739d.tar.bz2
lufa-663f9bd5f5592fb6670fa20cabdc65dea631739d.zip
Update Doxygen documentation build scripts to fail if any warnings are generated.
Diffstat (limited to 'BuildTests')
-rw-r--r--BuildTests/ModuleTest/makefile.avr85
-rw-r--r--BuildTests/ModuleTest/makefile.uc34
-rw-r--r--BuildTests/ModuleTest/makefile.xmega4
-rw-r--r--BuildTests/SingleUSBModeTest/makefile.avr84
-rw-r--r--BuildTests/SingleUSBModeTest/makefile.uc34
-rw-r--r--BuildTests/SingleUSBModeTest/makefile.xmega4
-rw-r--r--BuildTests/StaticAnalysisTest/makefile3
7 files changed, 21 insertions, 7 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:
diff --git a/BuildTests/SingleUSBModeTest/makefile.avr8 b/BuildTests/SingleUSBModeTest/makefile.avr8
index c0c7dbaf9..a7b69b58b 100644
--- a/BuildTests/SingleUSBModeTest/makefile.avr8
+++ b/BuildTests/SingleUSBModeTest/makefile.avr8
@@ -691,7 +691,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/SingleUSBModeTest/makefile.uc3 b/BuildTests/SingleUSBModeTest/makefile.uc3
index 33f2ffd2e..4ffaf2872 100644
--- a/BuildTests/SingleUSBModeTest/makefile.uc3
+++ b/BuildTests/SingleUSBModeTest/makefile.uc3
@@ -454,7 +454,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/SingleUSBModeTest/makefile.xmega b/BuildTests/SingleUSBModeTest/makefile.xmega
index b56efbfa1..f594d95b8 100644
--- a/BuildTests/SingleUSBModeTest/makefile.xmega
+++ b/BuildTests/SingleUSBModeTest/makefile.xmega
@@ -673,7 +673,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/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index 744120d87..474b25979 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -42,4 +42,5 @@ staticcheck:
cppcheck --quiet --inline-suppr --check-config --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
cppcheck --quiet --inline-suppr --error-exitcode=1 --std=c99 --force --enable=all --inconclusive $(SUPPRESS_WARNINGS:%=--suppress=%) --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
-%: \ No newline at end of file
+%:
+ \ No newline at end of file