aboutsummaryrefslogtreecommitdiffstats
path: root/doc/scripts
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-04-19 14:40:21 +0000
committerlloyd <[email protected]>2010-04-19 14:40:21 +0000
commit90de8014d379f1f81b57cabc9a6a52a548ff262a (patch)
treef63d504ec89b03753c236420293784a1ea24eead /doc/scripts
parent0a5109dc818ccf05ff689ba6f4dc15a0eebc460f (diff)
Dist script updates
Diffstat (limited to 'doc/scripts')
-rwxr-xr-xdoc/scripts/dist.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/scripts/dist.sh b/doc/scripts/dist.sh
index 152b7e89b..479de24d1 100755
--- a/doc/scripts/dist.sh
+++ b/doc/scripts/dist.sh
@@ -6,9 +6,11 @@
SELECTOR=h:net.randombit.botan
KEY_ID=EFBADFBC
MTN_DB=/storage/mtn/botan.mtn
-WEB_DIR=$HOME/projects/www/files/botan/v1.9/
DIST_DIR=~/Botan-dist
+DIST_FILES_DIR=$HOME/projects/www/files/botan/v1.9/
+WEB_DOCS_DIR=$HOME/projects/www/htdocs/botan/htdocs/
+
# You shouldn't have to change anything after this
mkdir -p $DIST_DIR
cd $DIST_DIR
@@ -39,7 +41,7 @@ do
rm -f $doc.aux $doc.log $doc.dvi $doc.toc
done
-cp log.txt ../..
+botan_log_to_html log.txt > ../../log.html
cd .. # topdir
cd .. # now in DIST_DIR
@@ -60,5 +62,7 @@ read -a PASSWORD -p "Enter PGP password (or ^C to skip signatures): "
echo $PASSWORD | gpg --batch --armor -b --passphrase-fd 0 -u $KEY_ID Botan-$VERSION.tgz
echo $PASSWORD | gpg --batch --armor -b --passphrase-fd 0 -u $KEY_ID Botan-$VERSION.tbz
-mv Botan-$VERSION.tgz* $WEB_DIR
-mv Botan-$VERSION.tbz* $WEB_DIR
+mv Botan-$VERSION.tgz* Botan-$VERSION.tbz* $DIST_FILES_DIR
+mv log.html $WEB_DOCS_DIR
+
+echo "Now edit download.html, and add a release notice to pyblosxom"