We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2294766 commit 256ff3eCopy full SHA for 256ff3e
etc/deploy-doc.sh
@@ -7,14 +7,25 @@ if ! [[ -d "gh-pages" ]] ; then
7
exit 1
8
fi
9
10
+if ! [[ $# == 0 || $# == 1 ]] ; then
11
+ echo "Usage : $0 [-DDOXYGEN_EXECUTABLE=/path/to/doxygen/executable]"
12
+ exit 1
13
+fi
14
+
15
+if [[ $# == 1 && "${1:0:21}" != "-DDOXYGEN_EXECUTABLE=" ]] ; then
16
17
18
19
20
+printf "\033[0;32m\033[0m\n"
21
printf "\033[0;32mDeploying updates to GitHub...\033[0m\n"
22
23
mkdir -p build
24
cd build
25
if [[ -f Makefile ]] ; then
26
make clean
27
-cmake ..
28
+cmake .. $1
29
make doc
30
cd ..
31
cp -r build/doc/html/* gh-pages
0 commit comments