Skip to content
Snippets Groups Projects
Commit a5d3e9ef3da3 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: create documentation: fix indentation and use quote in path of rsync call

parent f97c35a437d9
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
pushd $doc_dir pushd $doc_dir
# TODO read value from Makefile # TODO read value from Makefile
for language in $languages ; do for language in $languages ; do
make -e SPHINXOPTS=-Dlanguage=${language} $format make -e SPHINXOPTS=-Dlanguage=${language} $format
if [[ $? -eq 0 ]] ; then if [[ $? -eq 0 ]] ; then
# TODO read value from Makefile # TODO read value from Makefile
builddir=_build builddir=_build
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
done done
popd popd
# copy documentation in super project # copy documentation in super project
rsync -rLptgoD $doc_dir $superproject_modules_doc/$module rsync -rLptgoD $doc_dir/ "$superproject_modules_doc/$module"
# TODO translation will not work when copying like that. # TODO translation will not work when copying like that.
fi fi
done done
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
pushd $doc_dir pushd $doc_dir
for language in $languages ; do for language in $languages ; do
make -e SPHINXOPTS=-Dlanguage=${language} $format make -e SPHINXOPTS=-Dlanguage=${language} $format
if [[ $? -eq 0 ]] ; then if [[ $? -eq 0 ]] ; then
# TODO read value from Makefile # TODO read value from Makefile
builddir=_build builddir=_build
dest_dir=$out_dir/$project_name/$language/$branch dest_dir=$out_dir/$project_name/$language/$branch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment