diff options
author | 2009-02-08 20:58:47 +0100 | |
---|---|---|
committer | 2009-02-08 20:58:47 +0100 | |
commit | 87565207d2dd3963898dffd9880a0c6efb5d4525 (patch) | |
tree | 0ac1f0483123bc73c4124498a3fc69ef998f5fc5 | |
parent | update mkrelease and README (diff) | |
download | porticron-87565207d2dd3963898dffd9880a0c6efb5d4525.tar.gz porticron-87565207d2dd3963898dffd9880a0c6efb5d4525.tar.bz2 porticron-87565207d2dd3963898dffd9880a0c6efb5d4525.zip |
make mkrelease generate new templated project pages
-rwxr-xr-x | mkrelease.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkrelease.sh b/mkrelease.sh index c5dec25..a793e8d 100755 --- a/mkrelease.sh +++ b/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 |