# 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
# 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
# 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
#!/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."