diff options
author | Jack Lloyd <[email protected]> | 2016-10-31 01:32:22 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-31 01:32:22 -0400 |
commit | f034ff4fb4752d17a2a6b292d2f707224d6eef13 (patch) | |
tree | 536ac24c394d4b36277f0c95f36b912149b20122 /src | |
parent | cb171bf6f6d22b830313f30e09ddac74ac458eea (diff) |
Move license and news to top level directory
These files are important so make them easy to find for someone
unpacking the tarball for the first time.
Diffstat (limited to 'src')
-rwxr-xr-x | src/scripts/install.py | 3 | ||||
-rwxr-xr-x | src/scripts/website.sh | 4 |
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 |