summaryrefslogtreecommitdiffstats
path: root/installer/ogGenerateDoc.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-03-16 15:25:31 +0000
committerramon <ramongomez@us.es>2010-03-16 15:25:31 +0000
commitead38fbabcc5b9f61fc40d6b7483f7761f346a4f (patch)
treee949a7acf2a165eb51f3d4ebfbb54920b09462af /installer/ogGenerateDoc.sh
parent311532f10871136683fd5d9fa3f60c078d7238ea (diff)
Mensajes y errores para gestión de caché; incluir versión por defecto al generar documentación Doxygen.
git-svn-id: https://opengnsys.es/svn/trunk@812 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/ogGenerateDoc.sh')
-rwxr-xr-xinstaller/ogGenerateDoc.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/installer/ogGenerateDoc.sh b/installer/ogGenerateDoc.sh
index 7ed7d868..d8567d50 100755
--- a/installer/ogGenerateDoc.sh
+++ b/installer/ogGenerateDoc.sh
@@ -19,7 +19,9 @@ then
fi
if [ $# = 2 ]
then
-mkdir -p $2
+mkdir -p "$2"
+VERSION=$(cat $(dirname "$0")/../doc/VERSION.txt) 2>/dev/null
+VERSION=${VERSION:-"1.0 beta"}
cat > /tmp/doxyfile << EOF
# Doxyfile 1.5.6
# Fichero para documentar codigo shellscripts linux.
@@ -29,7 +31,7 @@ cat > /tmp/doxyfile << EOF
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "Proyecto OpenGnSys"
-PROJECT_NUMBER = 1.0
+PROJECT_NUMBER = $VERSION
OUTPUT_DIRECTORY = $2
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = Spanish