aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
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 /LUFA
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 'LUFA')
-rw-r--r--LUFA/CodeTemplates/makefile_template.avr84
-rw-r--r--LUFA/CodeTemplates/makefile_template.uc34
-rw-r--r--LUFA/CodeTemplates/makefile_template.xmega4
-rw-r--r--LUFA/makefile6
4 files changed, 14 insertions, 4 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.avr8 b/LUFA/CodeTemplates/makefile_template.avr8
index 7fd19390b..7f8534a3b 100644
--- a/LUFA/CodeTemplates/makefile_template.avr8
+++ b/LUFA/CodeTemplates/makefile_template.avr8
@@ -683,7 +683,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/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3
index 647a956c8..78fd9f69c 100644
--- a/LUFA/CodeTemplates/makefile_template.uc3
+++ b/LUFA/CodeTemplates/makefile_template.uc3
@@ -456,7 +456,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/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:
diff --git a/LUFA/makefile b/LUFA/makefile
index bfe9b8a04..9e68d3cb3 100644
--- a/LUFA/makefile
+++ b/LUFA/makefile
@@ -77,7 +77,11 @@ ifeq ($(origin LUFA_PATH), undefined)
doxygen:
@echo Generating LUFA Library Documentation...
- ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen -
+
+ @if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - 2>&1 | grep "warning" ;); then \
+ exit 1; \
+ fi;
+
@echo Documentation Generation Complete.
clean_doxygen: