From: W. Trevor King Date: Thu, 7 Oct 2010 13:01:00 +0000 (-0400) Subject: Add build- and clean-all.sh scripts for complete builds. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a6daae3852fdd66d91e7729a2d11c202f3e1c65;p=parallel_computing.git Add build- and clean-all.sh scripts for complete builds. --- diff --git a/_script/build-all.sh b/_script/build-all.sh new file mode 100755 index 0000000..f2ba2fd --- /dev/null +++ b/_script/build-all.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ROOT=$(git rev-parse --show-cdup . | head -n1) +if [ -z "$ROOT" ]; then + ROOT="./" +fi + +build.sh "$ROOT" + +# html_toc.py does not search outside a TOC tree, so you need to start +# it at each additional TOC root. Run +# grep -r 'TableOfContents' | grep -v '/content/' +# to get a list of files containing TOCs. +html_toc.py "$ROOT"content/ +html_toc.py "$ROOT"assignments/archive/logistic_cuda/ diff --git a/_script/clean-all.sh b/_script/clean-all.sh new file mode 100755 index 0000000..96dc72a --- /dev/null +++ b/_script/clean-all.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ROOT=$(git rev-parse --show-cdup . | head -n1) +if [ -z "$ROOT" ]; then + ROOT="./" +fi + +clean.sh "$ROOT" + +# html_toc.py does not search outside a TOC tree, so you need to start +# it at each additional TOC root. Run +# grep -r 'TableOfContents' | grep -v '/content/' +# to get a list of files containing TOCs. +html_toc.py --clean "$ROOT"content/ +html_toc.py --clean "$ROOT"assignments/archive/logistic_cuda/