projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Doxygen documentation build scripts to fail if any warnings are generated.
[pub/USBasp.git]
/
LUFA
/
makefile
diff --git
a/LUFA/makefile
b/LUFA/makefile
index
bfe9b8a
..
9e68d3c
100644
(file)
--- a/
LUFA/makefile
+++ b/
LUFA/makefile
@@
-77,7
+77,11
@@
ifeq ($(origin LUFA_PATH), undefined)
doxygen:
@echo Generating LUFA Library Documentation...
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:
@echo Documentation Generation Complete.
clean_doxygen: