Fix Doxygen Travis test
This commit is contained in:
parent
25d69965a4
commit
a258f42645
@ -28,10 +28,6 @@ docsrc = $(docdirs) $(foreach dir,$(docdirs),${shell find $(dir) -type f $(filet
|
|||||||
|
|
||||||
html:
|
html:
|
||||||
@doxygen Doxyfile
|
@doxygen Doxyfile
|
||||||
@echo "Done, errorlog follows:"
|
|
||||||
@echo ""
|
|
||||||
@touch doxygen.log
|
|
||||||
@cat "doxygen.log"
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo "> Cleaning Documentation"
|
@echo "> Cleaning Documentation"
|
||||||
|
@ -30,14 +30,14 @@ DOCDIR=../../doc
|
|||||||
all: summary
|
all: summary
|
||||||
|
|
||||||
doxygen:
|
doxygen:
|
||||||
@make -C $(DOCDIR) doxygen.log 2> doxygen.runerr > doxygen.runlog
|
@make -C $(DOCDIR) 2> doxygen.runerr > doxygen.runlog
|
||||||
|
|
||||||
summary: doxygen
|
summary: doxygen
|
||||||
@( \
|
@( \
|
||||||
1> summary; \
|
1> summary; \
|
||||||
if [ -s doxygen.runerr ] ; then \
|
if [ -s doxygen.runerr ] ; then \
|
||||||
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some runtime warnings. Please fix these." >> summary; \
|
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some errors. Please fix these." >> summary; \
|
||||||
echo "Runtime warnings:" >> summary; \
|
echo "Errors:" >> summary; \
|
||||||
cat doxygen.runerr >> summary; \
|
cat doxygen.runerr >> summary; \
|
||||||
echo >> summary; \
|
echo >> summary; \
|
||||||
fi ; \
|
fi ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user