aboutsummaryrefslogtreecommitdiffstats
path: root/doc/scripts/dist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripts/dist.sh')
-rwxr-xr-xdoc/scripts/dist.sh69
1 files changed, 0 insertions, 69 deletions
diff --git a/doc/scripts/dist.sh b/doc/scripts/dist.sh
deleted file mode 100755
index 6dffb9ac4..000000000
--- a/doc/scripts/dist.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-# This is probably only useful if run on my machine, which is not
-# exactly ideal
-
-SELECTOR=h:net.randombit.botan
-KEY_ID=EFBADFBC
-MTN_DB=/storage/mtn/botan.mtn
-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
-
-mtn -d $MTN_DB checkout -r $SELECTOR Botan
-
-VERSION=$(Botan/configure.py --version)
-
-mv Botan Botan-$VERSION
-
-cd Botan-$VERSION
-rm -rf _MTN
-rm -f .mtn-ignore
-
-# Build docs
-cd doc
-
-for doc in api tutorial building python
-do
- latex $doc.tex
- latex $doc.tex
- dvips $doc.dvi -o
- pdflatex $doc.tex
- pdflatex $doc.tex
- cp $doc.pdf $DIST_DIR
- mv $doc.ps $DIST_DIR
- # Clean up after TeX
- rm -f $doc.aux $doc.log $doc.dvi $doc.toc
-done
-
-#botan_log_to_html log.txt > ../../log.html
-cp log.txt ../../log.txt
-
-cd .. # topdir
-cd .. # now in DIST_DIR
-
-tar -cf Botan-$VERSION.tar Botan-$VERSION
-
-bzip2 -9 -k Botan-$VERSION.tar
-gzip -9 Botan-$VERSION.tar
-
-rm -rf Botan-$VERSION
-
-mv Botan-$VERSION.tar.gz Botan-$VERSION.tgz
-mv Botan-$VERSION.tar.bz2 Botan-$VERSION.tbz
-
-echo "*****************************************************"
-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* Botan-$VERSION.tbz* $DIST_FILES_DIR
-mv log.html $WEB_DOCS_DIR
-
-echo "Now edit download.html, and add a release notice to pyblosxom"