diff --git a/README.md b/README.md index 9c5f764..4fec4b2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It is not as fine grained as hakyll but it is good enough. To compile all lhs files of the current tree directory: ``` -spt *.lhs +spt **/*.lhs ``` This will create a `static-pandoc` directory. diff --git a/spt b/spt index cfab1e1..7bb758c 100755 --- a/spt +++ b/spt @@ -23,7 +23,6 @@ for fic in $*; do else reldir='.' fi - print $fic:h : $reldir perl -pe 's#\$webprefix\$#'$reldir'#g' < $boil > $tmpboil [[ ! -d ${dst:h} ]] && mkdir -p ${dst:h} pandoc -s -S --template $tmpboil $tmp > $dst