Changeset 2230 in subversion
- Timestamp:
- Jan 9, 2009 4:37:41 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/bin/makedoc.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/bin/makedoc.sh
r1952 r2230 1 #!/bin/bash 1 #!/usr/bin/env bash 2 3 if [ -z "$SSH_TTY" ] 4 then 5 if [ -z "$DEV_TTY" ] 6 then 7 echo "Not on the shell." 8 exit 1 9 fi 10 fi 2 11 3 12 TITLE="RoundCube Classes" … … 7 16 PATH_PROJECT=$INSTALL_PATH/program/include 8 17 PATH_DOCS=$INSTALL_PATH/doc/phpdoc 18 BIN_PHPDOC="`/usr/bin/which phpdoc`" 9 19 10 if [ -x /usr/local/php5/bin/phpdoc]20 if [ ! -x "$BIN_PHPDOC" ] 11 21 then 12 PATH_PHPDOC=/usr/local/php5/bin/phpdoc 13 elif [ -x /usr/bin/phpdoc ] 14 then 15 PATH_PHPDOC=/usr/bin/phpdoc 16 else 17 echo "phpdoc not found" 22 echo "phpdoc not found: $BIN_PHPDOC" 18 23 exit 1 19 24 fi … … 25 30 26 31 # make documentation 27 $ PATH_PHPDOC -d $PATH_PROJECT -t $PATH_DOCS -ti "$TITLE" -dn $PACKAGES \32 $BIN_PHPDOC -d $PATH_PROJECT -t $PATH_DOCS -ti "$TITLE" -dn $PACKAGES \ 28 33 -o $OUTPUTFORMAT:$CONVERTER:$TEMPLATE -pp $PRIVATE 29 34
Note: See TracChangeset
for help on using the changeset viewer.
