diff --git a/Documentation/doc/scripts/process_doc.sh b/Documentation/doc/scripts/process_doc.sh
index 0b9d2e2be89..4b7bc9bd0c6 100644
--- a/Documentation/doc/scripts/process_doc.sh
+++ b/Documentation/doc/scripts/process_doc.sh
@@ -18,39 +18,69 @@ PUBLISH_DIR="$3"
DOXYGEN_1=$($PATH_TO_1_8_4 --version)
DOXYGEN_2=$($PATH_TO_1_8_13 --version)
+DO_COMPARE=TRUE
+PATH_TO_SCRIPTS=${PWD}
#######################################
## download and build doxygen_master ##
-#######################################
-echo "downloading and building master"
-git clone https://github.com/doxygen/doxygen.git doxygen_master 1> /dev/null
-cd doxygen_master
-git pull https://github.com/lrineau/doxygen.git 1> /dev/null
-MASTER_DESCRIBE=$(git describe --tags)
-mkdir -p build
-cd build
-cmake .. 1> /dev/null
-make -j$NB_CORES 1> /dev/null
-cd ../.. #scripts
+ #######################################
+#echo "downloading and building master"
+#git clone https://github.com/doxygen/doxygen.git doxygen_master 1> /dev/null
+#if [ $? -ne 0 ]; then
+# DO_COMPARE=FALSE
+#else
+# cd doxygen_master
+# git pull https://github.com/lrineau/doxygen.git 1> /dev/null
+#fi
+#if [ "$DO_COMPARE" = "FALSE" ] || [ $? -ne 0 ]; then
+# DO_COMPARE=FALSE
+#else
+# MASTER_DESCRIBE=$(git describe --tags)
+# mkdir -p build
+# cd build
+# cmake .. 1> /dev/null
+#fi
+#if [ "$DO_COMPARE" = "FALSE" ] || [ $? -ne 0 ]; then
+# DO_COMPARE=FALSE
+#else
+# make -j$NB_CORES 1> /dev/null
+#fi
+cd $PATH_TO_SCRIPTS #scripts
PATH_TO_MASTER="$PWD/doxygen_master/build/bin/doxygen"
echo "done."
-
+
echo "comparing versions 1.8.4 and 1.8.13"
bash -$- test_doxygen_versions.sh $PATH_TO_1_8_4 $PATH_TO_1_8_13 $PWD/doc_1_8_4 $PWD/doc_1_8_13 $PUBLISH_DIR
mv diff.txt diff1.txt
echo "comparing versions 1.8.4 and master"
-bash -$- test_doxygen_versions.sh $PATH_TO_1_8_4 $PATH_TO_MASTER $PWD/doc_1_8_4 $PWD/doc_master $PUBLISH_DIR
-mv diff.txt diff2.txt
-
+if [ "$DO_COMPARE" = "TRUE" ]; then
+ bash -$- test_doxygen_versions.sh $PATH_TO_1_8_4 $PATH_TO_MASTER $PWD/doc_1_8_4 $PWD/doc_master $PUBLISH_DIR
+fi
+if [ $? -ne 0 ]; then
+ DO_COMPARE=FALSE
+ mv build_doc build_master
+else
+ mv diff.txt diff2.txt
+fi
#update overview
CGAL_NAME=$(cat cgal_version)
-python ${PWD}/testsuite.py --output-dir1 $PWD/doc_1_8_4/doc_output/ --output-dir2 $PWD/doc_1_8_13/doc_output/ --doc-log-dir1 $PWD/doc_1_8_4/doc_log/ \
- --doc-log-dir2 $PWD/doc_1_8_13/doc_log/ --doc-log-dir-master $PWD/doc_master/doc_log/ \
- --publish $PUBLISH_DIR --diff1 $PWD/diff1.txt --diff2 $PWD/diff2.txt --master-dir $PWD/doc_master/doc_output/ \
- --cgal-version "$CGAL_NAME" --do-copy-results --version-to-keep 10 --doxygen-version1 "$DOXYGEN_1" --doxygen-version2 "$DOXYGEN_2" --master-describe "$MASTER_DESCRIBE"
-
+if [ "$DO_COMPARE" = "TRUE" ]; then
+ python ${PWD}/testsuite.py --output-dir1 $PWD/doc_1_8_4/doc_output/ --output-dir2 $PWD/doc_1_8_13/doc_output/ --doc-log-dir1 $PWD/doc_1_8_4/doc_log/ \
+ --doc-log-dir2 $PWD/doc_1_8_13/doc_log/ --doc-log-dir-master $PWD/doc_master/doc_log/ \
+ --publish $PUBLISH_DIR --diff1 $PWD/diff1.txt --diff2 $PWD/diff2.txt --master-dir $PWD/doc_master/doc_output/ \
+ --cgal-version "$CGAL_NAME" --do-copy-results --version-to-keep 10 --doxygen-version1 "$DOXYGEN_1" --doxygen-version2 "$DOXYGEN_2" --master-describe "$MASTER_DESCRIBE"
+else
+ echo "NO MASTER"
+ python ${PWD}/testsuite.py --output-dir1 $PWD/doc_1_8_4/doc_output/ --output-dir2 $PWD/doc_1_8_13/doc_output/ --doc-log-dir1 $PWD/doc_1_8_4/doc_log/ \
+ --doc-log-dir2 $PWD/doc_1_8_13/doc_log/ --doc-log-dir-master $PWD/doc_master/ \
+ --publish $PUBLISH_DIR --diff1 $PWD/diff1.txt \
+ --cgal-version "$CGAL_NAME" --do-copy-results --version-to-keep 10 --doxygen-version1 "$DOXYGEN_1" --doxygen-version2 "$DOXYGEN_2"
+fi
#clean-up
-rm -rf ./doc_1_8_4 ./doc_1_8_13 ./doc_master ./doxygen_master
-rm ./diff1.txt ./diff2.txt ./cgal_version
+#rm -rf ./doc_1_8_4 ./doc_1_8_13 ./doc_master #./doxygen_master
+#rm ./diff1.txt ./cgal_version
+#if [ -f ./diff2.txt ]; then
+# rm ./diff2.txt
+#fi
diff --git a/Documentation/doc/scripts/test_doxygen_versions.sh b/Documentation/doc/scripts/test_doxygen_versions.sh
index e65e0546140..f8c3ec31ab9 100644
--- a/Documentation/doc/scripts/test_doxygen_versions.sh
+++ b/Documentation/doc/scripts/test_doxygen_versions.sh
@@ -58,8 +58,8 @@ if [ "$HAS_REF" -ne "1" ]; then
echo "Building reference documentation..."
mkdir -p ./build_doc
cd ./build_doc
- cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_GENERATE_XML=ON -DDOXYGEN_EXECUTABLE="$PATH_TO_1" ../.. 1> /dev/null
- make -j$NB_CORES doc &> /dev/null
+ cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_GENERATE_XML=ON -DDOXYGEN_EXECUTABLE="$PATH_TO_1" ../.. 1>> ./build_logs
+ make -j$NB_CORES doc &>> ./build_logs
echo "done."
cd ../ #scripts
echo "Creating text files for diff...."
@@ -78,8 +78,8 @@ fi
echo "Building second documentation..."
mkdir -p build_doc
cd ./build_doc
-cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_GENERATE_XML=ON -DDOXYGEN_EXECUTABLE="$PATH_TO_2" ../.. 1> /dev/null
-make -j$NB_CORES doc &> /dev/null
+cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_GENERATE_XML=ON -DDOXYGEN_EXECUTABLE="$PATH_TO_2" ../.. 1>> ./build_logs
+make -j$NB_CORES doc &>> ./build_logs
echo "done."
cd ../ #scripts
DOXYGEN_1=$($PATH_TO_1 --version)
@@ -94,7 +94,7 @@ echo "done."
#add post-processing
cd ./build_doc
echo "Adding postprocessing..."
-make -j$NB_CORES doc_with_postprocessing &> /dev/null
+make -j$NB_CORES doc_with_postprocessing &>> ./build_logs
echo "done."
cd .. #scripts
mv ./build_doc/* $BUILD_DIR_2
@@ -108,16 +108,16 @@ if [ "$HAS_REF" -ne "1" ]; then
#######################################################################################################################
rm -rf ./doc_dir
cd $BUILD_DIR_1
- cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_DOC_CREATE_LOGS="true" -DDOXYGEN_EXECUTABLE="$PATH_TO_1" ../.. 1> /dev/null
+ cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_DOC_CREATE_LOGS="true" -DDOXYGEN_EXECUTABLE="$PATH_TO_1" ../.. 1>> ./build_logs
echo "Building reference documentation with postprocessing..."
- make -j$NB_CORES doc &> /dev/null
- make -j$NB_CORES doc &> /dev/null
- make -j$NB_CORES doc_with_postprocessing &> /dev/null
+ make -j$NB_CORES doc &>> ./build_logs
+ make -j$NB_CORES doc &>> ./build_logs
+ make -j$NB_CORES doc_with_postprocessing &>> ./build_logs
echo "done."
if [ $IS_RELEASE = 0 ]; then
cd $ROOT
mkdir -p ./build && cd ./build
- cmake -DWITH_CGAL_Core=false -DWITH_CGAL_ImageIO=false -DWITH_CGAL_Qt5=false .. 1> /dev/null
+ cmake -DWITH_CGAL_Core=false -DWITH_CGAL_ImageIO=false -DWITH_CGAL_Qt5=false .. 1>> ./build_logs
CGAL_NAME="$(cat $PWD/VERSION)"
cd $ROOT
rm -rf ./build
@@ -132,11 +132,11 @@ else
rm -rf ./first_doc_ref
fi
cd $BUILD_DIR_2
- cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_DOC_CREATE_LOGS="true" -DDOXYGEN_EXECUTABLE="$PATH_TO_2" ../.. 1> /dev/null
+ cmake -DCGAL_DOC_MATHJAX_LOCATION:STRING=../../MathJax -DCGAL_DOC_RELEASE=ON -DCGAL_DOC_CREATE_LOGS="true" -DDOXYGEN_EXECUTABLE="$PATH_TO_2" ../.. 1>> ./build_logs
echo "Building reference documentation with postprocessing..."
- make -j$NB_CORES doc &> /dev/null
- make -j$NB_CORES doc &> /dev/null
- make -j$NB_CORES doc_with_postprocessing &> /dev/null
+ make -j$NB_CORES doc &>> ./build_logs
+ make -j$NB_CORES doc &>> ./build_logs
+ make -j$NB_CORES doc_with_postprocessing &>> ./build_logs
echo "done."
cd .. #scripts
#get VERSION's content
diff --git a/Documentation/doc/scripts/testsuite.py b/Documentation/doc/scripts/testsuite.py
index 1fda305b1e0..a112cb948ae 100755
--- a/Documentation/doc/scripts/testsuite.py
+++ b/Documentation/doc/scripts/testsuite.py
@@ -98,7 +98,9 @@ body {color: black; background-color: #C0C0D0; font-family: sans-serif;}
suffix = ''
if args.master_describe:
suffix=args.master_describe
- link_master="\n
Documentation built with the master version of Doxygen {_suffix} (buggy), so that we see progress/regression of doxygen development as far as CGAL is concerned.\n".format(_suffix=suffix)
+ link_master="\n
Documentation built with the master version of Doxygen {_suffix} (buggy), so that we see progress/regression of doxygen development as far as CGAL is concerned.\n".format(_suffix=suffix)
+ else:
+ link_master="\n
/!\\ Documentation with the master version of Doxygen FAILED /!\\
Documentation with the master version of Doxygen FAILED
' + d=pq(filename=publish_dir + 'index.html',parser="html") revs=d('#revisions tr') new_row='''