aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/install.py3
-rwxr-xr-xsrc/scripts/website.sh4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py
index 799d8ea4e..0045be844 100755
--- a/src/scripts/install.py
+++ b/src/scripts/install.py
@@ -216,7 +216,8 @@ def main(args = None):
for f in [f for f in os.listdir(cfg['doc_dir']) if f.endswith('.txt')]:
copy_file(os.path.join(cfg['doc_dir'], f), os.path.join(target_doc_dir, f))
- copy_file(os.path.join(cfg['doc_dir'], 'news.rst'), os.path.join(target_doc_dir, 'news.txt'))
+ copy_file(os.path.join(cfg['base_dir'], 'license.txt'), os.path.join(target_doc_dir, 'license.txt'))
+ copy_file(os.path.join(cfg['base_dir'], 'news.rst'), os.path.join(target_doc_dir, 'news.txt'))
logging.info('Botan %s installation complete', cfg['version'])
diff --git a/src/scripts/website.sh b/src/scripts/website.sh
index 5b7e1c6cb..bb6e69df7 100755
--- a/src/scripts/website.sh
+++ b/src/scripts/website.sh
@@ -12,7 +12,7 @@ rm -rf $WEBSITE_SRC_DIR $WEBSITE_DIR
mkdir -p $WEBSITE_SRC_DIR
cp readme.rst $WEBSITE_SRC_DIR/index.rst
-cp -r doc/news.rst doc/security.rst $WEBSITE_SRC_DIR
+cp -r news.rst doc/security.rst $WEBSITE_SRC_DIR
echo -e ".. toctree::\n\n index\n news\n security\n" > $WEBSITE_SRC_DIR/contents.rst
sphinx-build -t website -c "$SPHINX_CONFIG" -b "$SPHINX_BUILDER" $WEBSITE_SRC_DIR $WEBSITE_DIR
@@ -21,7 +21,7 @@ rm -rf $WEBSITE_DIR/.doctrees
rm -f $WEBSITE_DIR/.buildinfo
rm -rf $WEBSITE_DIR/manual/.doctrees
rm -f $WEBSITE_DIR/manual/.buildinfo
-cp doc/license.txt doc/pgpkey.txt $WEBSITE_DIR
+cp license.txt doc/pgpkey.txt $WEBSITE_DIR
doxygen build/botan.doxy
mv build/docs/doxygen $WEBSITE_DIR/doxygen