maxime.batista 2 years ago
parent 7c8f7c5fce
commit e4451aae7f

@ -57,8 +57,8 @@ SERVER_TARGET="/usr/share/nginx/html/$RELATIVE_PATH"
# launches rsync in archive, verbose and compression mode
# creates target directory ($SERVER_TARGET) on server
# then sends generated files int the server directory
rsync -avz \
# then sends generated files into the server directory
rsync -avz -I \
--rsync-path="mkdir -p \"$SERVER_TARGET\" && rsync" \
-e "ssh -o StrictHostKeyChecking=no" \
--delete "$GEN_PATH" root@nginx:"$SERVER_TARGET"

@ -7,7 +7,7 @@ generate() {
exit 1
fi
doxygen "$1"/Doxyfile
doxygen $1
mkdir -p $GEN_PATH
mv html/* $GEN_PATH

Loading…
Cancel
Save