forked from mirror/qmk_firmware
Only abort Doxygen documentation generation if a non-unsupported tag warning is encountered.
This commit is contained in:
@@ -683,7 +683,7 @@ clean_list :
|
||||
|
||||
doxygen:
|
||||
@echo Generating Project Documentation \($(TARGET)\)...
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \
|
||||
exit 1; \
|
||||
fi;
|
||||
@echo Documentation Generation Complete.
|
||||
|
||||
@@ -456,7 +456,7 @@ clean_list :
|
||||
|
||||
doxygen:
|
||||
@echo Generating Project Documentation \($(TARGET)\)...
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \
|
||||
exit 1; \
|
||||
fi;
|
||||
@echo Documentation Generation Complete.
|
||||
|
||||
@@ -675,7 +675,7 @@ clean_list :
|
||||
|
||||
doxygen:
|
||||
@echo Generating Project Documentation \($(TARGET)\)...
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
|
||||
@if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \
|
||||
exit 1; \
|
||||
fi;
|
||||
@echo Documentation Generation Complete.
|
||||
|
||||
@@ -78,7 +78,7 @@ ifeq ($(origin LUFA_PATH), undefined)
|
||||
doxygen:
|
||||
@echo Generating LUFA Library Documentation...
|
||||
|
||||
@if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - 2>&1 | grep "warning" ;); then \
|
||||
@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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user