2012-09-29 22:44:00 -06:00
|
|
|
#!/bin/bash
|
2012-09-29 23:02:14 -06:00
|
|
|
|
|
|
|
cd `dirname $0`
|
|
|
|
|
|
|
|
function process() {
|
|
|
|
if [ "$1" -nt "$2" ]; then
|
|
|
|
rst2html "$1" "$2"
|
|
|
|
else
|
|
|
|
echo "$2 - up to date."
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2012-09-29 22:44:00 -06:00
|
|
|
# this script is used for easy testing of the rst documentation files.
|
2012-09-29 23:02:14 -06:00
|
|
|
process Readme.rst Readme.html
|
|
|
|
process Compile.rst Compile.html
|
|
|
|
process Lua\ API.rst Lua\ API.html
|
|
|
|
process Contributors.rst Contributors.html
|