diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-03-09 21:28:44 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-03-09 21:28:44 +0000 |
| commit | d977bcaf64f13f01aa67530ff682699c59db20f6 (patch) | |
| tree | 2cfb714fb0c2ef2251dd30aada2bb40adf16fd0c /LUFA/makefile | |
| parent | c0e26815837ac520f3c288c2466c0702033b42c8 (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 'LUFA/makefile')
| -rw-r--r-- | LUFA/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LUFA/makefile b/LUFA/makefile index bfe9b8a0..9e68d3cb 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: |
