removed some log and better example

This commit is contained in:
Yann Esposito (Yogsototh) 2013-04-15 17:30:55 +02:00
parent a80501ac23
commit 3c30e8fba9
2 changed files with 1 additions and 2 deletions

View file

@ -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: To compile all lhs files of the current tree directory:
``` ```
spt *.lhs spt **/*.lhs
``` ```
This will create a `static-pandoc` directory. This will create a `static-pandoc` directory.

1
spt
View file

@ -23,7 +23,6 @@ for fic in $*; do
else else
reldir='.' reldir='.'
fi fi
print $fic:h : $reldir
perl -pe 's#\$webprefix\$#'$reldir'#g' < $boil > $tmpboil perl -pe 's#\$webprefix\$#'$reldir'#g' < $boil > $tmpboil
[[ ! -d ${dst:h} ]] && mkdir -p ${dst:h} [[ ! -d ${dst:h} ]] && mkdir -p ${dst:h}
pandoc -s -S --template $tmpboil $tmp > $dst pandoc -s -S --template $tmpboil $tmp > $dst