Skip to content

Commit

Permalink
Perform CMake configure step
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored Apr 24, 2019
1 parent b4c8bef commit 9ba9ae0
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions scripts/admin/update-dox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
# crontab -e
# 30 2 * * * /your/command

path="$HOME/kinematics-dynamics"
echo "Update kinematics-dynamics..."
git -C "$path" pull
echo "Doxy kinematics-dynamics..."
path="$path/doc/build"
mkdir -p "$path"
make -C "$path" clean && make -C "$path" dox
proj="kinematics-dynamics"
src="$HOME/$proj"
build="$src/doc/build"

echo "Update $proj..."
git -C "$src" pull

echo "Doxy $proj..."
mkdir -p "$build"
cmake -H"$src/doc" -B"$build" && make -C "$build" clean && make -C "$build" dox

0 comments on commit 9ba9ae0

Please sign in to comment.