cleaning up, removing redundant files, renaming, fixing incorrect licenses

This commit is contained in:
Riccardo Spagni 2015-05-31 13:40:18 +02:00
parent dfd53b353e
commit e01d32e52d
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
48 changed files with 581 additions and 214 deletions

25
utils/doxygen-publish.sh Executable file
View file

@ -0,0 +1,25 @@
#!/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

View file

@ -1,6 +0,0 @@
#include <assert.h>
static_assert(1, "FAIL");
int main(int argc, char *argv[]) {
return 0;
}