X-Git-Url: https://robinkrens.nl/gitweb/?p=robinkrens.nl;a=blobdiff_plain;f=docs%2Fcompile.sh;fp=docs%2Fcompile.sh;h=1d4dabaf8e013ef08ae2bc4aa5a86c96517d8a36;hp=0000000000000000000000000000000000000000;hb=ae98b36a4b214d8b5366b08b71c15ae16ff11320;hpb=8b03ea69fd1b69dee76a0f5d7f1ab594b2135dc0 diff --git a/docs/compile.sh b/docs/compile.sh new file mode 100755 index 0000000..1d4daba --- /dev/null +++ b/docs/compile.sh @@ -0,0 +1,10 @@ +### compile all + +if [ -x /usr/bin/txt2html ]; then + txt2html --version + for FILE in *.txt; do + NEWFILE=$(echo $FILE | sed 's/txt/html/') + txt2html --infile $FILE --outfile $NEWFILE --style_url ../files/style.css + echo "Compiled $FILE to $NEWFILE" + done +fi