From: Roland Häder Date: Mon, 7 Sep 2009 22:22:59 +0000 (+0000) Subject: Rewritten X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6d9c34935dec3e172abae81b086d2f852f962d77;p=shipsimu.git Rewritten --- diff --git a/.gitignore b/.gitignore index 21af8e9..e31a963 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,4 @@ db/news/*.serialized db/payments/*.serialized db/user/*.serialized db/user_points/*.serialized -docs/html docs/warn.log diff --git a/Doxyfile b/Doxyfile index 985d2af..1c05f5d 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NUMBER = 0.1a # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = /var/www/htdocs/ship-simu/docs/ +OUTPUT_DIRECTORY = /var/www/htdocs/ship-simu/trunk/docs/ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output @@ -492,7 +492,7 @@ WARN_FORMAT = "$file:$line: $text " # and error messages should be written. If left blank the output is written # to stderr. -WARN_LOGFILE = /var/www/htdocs/ship-simu/docs/warn.log +WARN_LOGFILE = /var/www/htdocs/ship-simu/trunk/docs/warn.log #--------------------------------------------------------------------------- # configuration options related to the input files @@ -503,7 +503,7 @@ WARN_LOGFILE = /var/www/htdocs/ship-simu/docs/warn.log # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = /var/www/htdocs/ship-simu/ +INPUT = /var/www/htdocs/ship-simu/trunk/index.php /var/www/htdocs/ship-simu/trunk/inc/ /var/www/htdocs/ship-simu/trunk/application/ship-simu/ # This tag can be used to specify the character encoding of the source files that # doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default diff --git a/package.sh b/package.sh index aeb7db3..639837e 100755 --- a/package.sh +++ b/package.sh @@ -1,16 +1,14 @@ #!/bin/sh +NAME=shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip + sh ./clear-cache.sh echo -n "$0: Packaging... " -zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1 +zip -9 $NAME docs/* Doxyfile *.php *.sh > /dev/null 2>&1 echo -n "." -zip -9r shipsimu_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1 +zip -9r $NAME application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1 echo -n "." -zip -d shipsimu_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1 +zip -d $NAME docs/warn.log db/*/*.serialized > /dev/null 2>&1 echo ". done" - -echo "$0: Renaming..." -mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip - echo "$0: All done."