Browse files

make mkrelease generate new templated project pages

  • Loading branch information...
1 parent b572f9b commit 52131a22d8c9aef387a0eab19c0fe3253a611abe @hollow committed Feb 8, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 mkrelease.sh
View
4 mkrelease.sh
@@ -2,7 +2,7 @@
source /etc/init.d/functions.sh
-PROJECT=$(sed -n '2{p;q;}' README.rst)
+PROJECT=$(sed -n '2{p;q;}' README.rst|tr '[A-Z]' '[a-z]')
VERSION=$(sed 's/^:Version: \(.*\)/\1/;t;d' README.rst)
HTDOCS=~/public_html/projects/${PROJECT}
@@ -11,7 +11,7 @@ DISTTAR=${HTDOCS}/dist/${PROJECT}-${VERSION}.tar.bz2
mkdir -p ${HTDOCS}/dist
ebegin "Generating project page"
-rst2html.py < README.rst > ${HTDOCS}/index.html
+~/work/rst2html.py ~/public_html/template.html < README.rst > ${HTDOCS}/index.html
eend $?
if [[ -e ${DISTTAR} ]]; then

0 comments on commit 52131a2

Please sign in to comment.