diff --git a/tangle-all.sh b/tangle-all.sh index 7c8848e1..ffa371a8 100755 --- a/tangle-all.sh +++ b/tangle-all.sh @@ -6,6 +6,7 @@ FILES="src/index.org" for m in $MODULES; do MODULE="geom-$m" SRC="$MODULE/src/*.org $MODULE/test/*.org $MODULE/bench/*.org" + rm -rf $MODULE/babel/src $MODULE/babel/test for f in `ls $SRC`; do FILES="$FILES $f" done diff --git a/tangle-module.sh b/tangle-module.sh index 4a129b4a..1ad65de5 100755 --- a/tangle-module.sh +++ b/tangle-module.sh @@ -4,6 +4,8 @@ DIR=`pwd` FILES="" SRC="geom-$1/src/*.org geom-$1/test/*.org geom-$1/bench/*.org" +rm -rf geom-$1/babel/src geom-$1/babel/test + # wrap each argument in the code required to call tangle on it for i in `ls $SRC`; do FILES="$FILES \"$i\""