X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=processor%2Fdefault.intermediate.do;fp=processor%2Fdefault.intermediate.do;h=0000000000000000000000000000000000000000;hb=6ee5e0e20b722b1d4e72dfa52a19ec684cb30410;hp=7470c3c11806051bdcaa84a0fcb1545062d99a41;hpb=4373137de8ac6ad8731e6828a9876de9efe0a82e;p=redo-blog diff --git a/processor/default.intermediate.do b/processor/default.intermediate.do deleted file mode 100644 index 7470c3c..0000000 --- a/processor/default.intermediate.do +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -template=intermediate.tmpl -uuidfile="${1%.intermediate}.uuid" -redo-ifchange "$uuidfile" -redo-ifchange "$template" -mdfile="${1%.intermediate}.md" -rstfile="${1%.intermediate}.rst" -if [ -f "$rstfile" ]; then - redo-ifchange "$rstfile" - pandoc -f rst --template="$template" --mathml -t html5 "$rstfile" > "$3" -elif [ -f "$mdfile" ]; then - redo-ifchange "$mdfile" - pandoc -f markdown --template="$template" --mathml -t html5 "$mdfile" > "$3" -fi