Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 7100f2b58690d0bf43c8eb8cfe1232ce > files > 1253

python-sqlobject-2.1.2-2.mga6.noarch.rpm

#! /bin/sh

here=`pwd`
parent=`dirname "$here"`
echo "Adding $parent to \$PYTHONPATH"
PYTHONPATH="$parent${PYTHONPATH:+:$PYTHONPATH}"
export PYTHONPATH

NORMAL="Authors DeveloperGuide FAQ Inheritance
        News News1 News2 News3 News4
        SQLBuilder SQLObject SelectResults TODO Versioning Views
        community download index links sqlobject-admin"

for NAME in $NORMAL ; do
    if [ -e "$NAME.html" -a ! "$NAME.html" -ot "$NAME.txt" ] ; then
        echo "$NAME is up to date."
        continue
    fi
    echo "Building $NAME."
    rst2html.py --no-toc-backlinks --stylesheet=default.css --link-stylesheet \
        -- "$NAME.txt" > "$NAME.html"
done