Merge pull request #1852 from maxGimeno/Doxygen_compare-GF

Compare two documentation outputs
This commit is contained in:
Laurent Rineau
2017-06-13 10:18:28 +02:00
12 changed files with 398 additions and 34 deletions
@@ -62,21 +62,8 @@ PYTHONPATH=/home/cgal-testsuite/.local/lib/python2.6/site-packages
export PYTHONPATH
PATH=/home/cgal-testsuite/local/bin:$PATH
export PATH
cmake \
-DBUILD_DOC:BOOL=ON \
-DCGAL_DOC_CREATE_LOGS:bool=ON \
-DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax \
-DCGAL_DOC_RELEASE:BOOL=TRUE \
-DCGAL_DOC_PUBLISH_DIR=/srv/CGAL/www/Members/Manual_doxygen_test \
-DDOXYGEN_EXECUTABLE:FILEPATH=/home/cgal-testsuite/local/bin/doxygen \
-DPYTHON_EXECUTABLE:FILEPATH=/home/cgal-testsuite/local/bin/python2 \
. 2>&1 || error "exit code $? returned by CMake"
# Note that -DCGAL_DOC_RELEASE:BOOL=TRUE should be only for master-only
# internal releases, and not for integration releases.
make doc 2>&1 || error "exit code $? returned by the command 'make doc'"
make doc_and_publish_testsuite 2>&1 || error "exit code $? returned by the command 'make doc_and_publish_testsuite'"
cd "$PWD/doc/scripts"
bash ./test_doxygen_versions.sh /home/cgal-testsuite/local/bin/doxygen '' /srv/CGAL/www/Members/Manual_doxygen_test
case "$CGAL_RELEASE_ID" in
*-I-*) ln -snf "../Manual_doxygen_test/$CGAL_RELEASE_ID/output" /srv/CGAL/www/doc/master
;;