#!/bin/sh

DEST="eternal.imaginarylandscape.com:/home/imagescape/LIVE/htdocs/software/ZPTKit"

THISDIR=`dirname $0`
if [ "$THISDIR" != "" ] ; then
    cd "$THISDIR"
fi

rst2html.py --no-toc-backlinks ../docs/index.txt | python convert_index.py > index.html

scp index.html "$DEST/index.html" && rm index.html

scp imagescape_default.css "$DEST/default.css"

