Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make mkrelease generate new templated project pages

  • Loading branch information...
commit 52131a22d8c9aef387a0eab19c0fe3253a611abe 1 parent b572f9b
Benedikt Böhm authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 mkrelease.sh
4 mkrelease.sh
@@ -2,7 +2,7 @@
2 2
3 3 source /etc/init.d/functions.sh
4 4
5   -PROJECT=$(sed -n '2{p;q;}' README.rst)
  5 +PROJECT=$(sed -n '2{p;q;}' README.rst|tr '[A-Z]' '[a-z]')
6 6 VERSION=$(sed 's/^:Version: \(.*\)/\1/;t;d' README.rst)
7 7
8 8 HTDOCS=~/public_html/projects/${PROJECT}
@@ -11,7 +11,7 @@ DISTTAR=${HTDOCS}/dist/${PROJECT}-${VERSION}.tar.bz2
11 11 mkdir -p ${HTDOCS}/dist
12 12
13 13 ebegin "Generating project page"
14   -rst2html.py < README.rst > ${HTDOCS}/index.html
  14 +~/work/rst2html.py ~/public_html/template.html < README.rst > ${HTDOCS}/index.html
15 15 eend $?
16 16
17 17 if [[ -e ${DISTTAR} ]]; then

0 comments on commit 52131a2

Please sign in to comment.
Something went wrong with that request. Please try again.