Fix Doxygen Travis test

This commit is contained in:
Simon Duquennoy 2017-10-06 17:17:40 +02:00
parent 25d69965a4
commit a258f42645
2 changed files with 3 additions and 7 deletions

View File

@ -28,10 +28,6 @@ docsrc = $(docdirs) $(foreach dir,$(docdirs),${shell find $(dir) -type f $(filet
html:
@doxygen Doxyfile
@echo "Done, errorlog follows:"
@echo ""
@touch doxygen.log
@cat "doxygen.log"
clean:
@echo "> Cleaning Documentation"

View File

@ -30,14 +30,14 @@ DOCDIR=../../doc
all: summary
doxygen:
@make -C $(DOCDIR) doxygen.log 2> doxygen.runerr > doxygen.runlog
@make -C $(DOCDIR) 2> doxygen.runerr > doxygen.runlog
summary: doxygen
@( \
1> summary; \
if [ -s doxygen.runerr ] ; then \
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some runtime warnings. Please fix these." >> summary; \
echo "Runtime warnings:" >> summary; \
echo "doxygen: FAIL ಠ_ಠ\nDoxygen caused some errors. Please fix these." >> summary; \
echo "Errors:" >> summary; \
cat doxygen.runerr >> summary; \
echo >> summary; \
fi ; \