diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-31 13:40:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-31 13:40:18 +0200 |
commit | e01d32e52d862d590ec23a17d3460066639a3803 (patch) | |
tree | c2d8a6539b2c86613b9ca2936848edecee96f22c /tools/doxygen-publish.sh | |
parent | readme updates: added sponsors, fixed build instructions (diff) | |
download | monero-e01d32e52d862d590ec23a17d3460066639a3803.tar.xz |
cleaning up, removing redundant files, renaming, fixing incorrect licenses
Diffstat (limited to 'tools/doxygen-publish.sh')
-rwxr-xr-x | tools/doxygen-publish.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/doxygen-publish.sh b/tools/doxygen-publish.sh deleted file mode 100755 index ad02e2834..000000000 --- a/tools/doxygen-publish.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -e - -# maintainer (ask me any questions): rfree - -if [[ ! -r "Doxyfile" ]] ; then - echo "Error, can not read the Doxyfile - make sure to run this script from top of monero project, where the Doxyfile file is located" - exit 1 -fi - -wwwdir="$HOME/monero-www/" -if [[ ! -w "$wwwdir" ]] ; then - echo "Error, can not write into wwwdir=$wwwdir. It should be a directory readable/connected to your webserver, or a symlink to such directory" - exit 1 -fi - -if [[ ! -d "$wwwdir/doc" ]] ; then - echo "Creating subdirs" - mkdir "$wwwdir/doc" -fi - -echo "Generating:" -doxygen Doxyfile && echo "Backup previous version:" && rm -rf ~/monero-www-previous && mv "$wwwdir/doc" ~/monero-www-previous && cp -ar doc/ "$wwwdir/" && echo "Done, builded and copied to public - the doxygen docs" && echo "size:" && du -Dsh "$wwwdir/" && echo "files:" && find "$wwwdir/" | wc -l - - - |