Changeset 413 for trunk/SRC/Documentation/xmldoc/doidldoc.sh
- Timestamp:
- 11/12/09 10:50:27 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/doidldoc.sh
r412 r413 1 1 #! /bin/sh 2 #3 2 #+ 4 3 # … … 11 10 # ======== 12 11 # 13 # ``doidldoc.sh -i indir -t title -o outdir -idl doc_version idldoc_version -idldoc_dir idldoc_dir``12 # ``doidldoc.sh -i indir -t title -o outdir -idl_dir idl_dir -idldoc_version idldoc_version -idldoc_dir idldoc_dir`` 14 13 # 15 14 # DESCRIPTION … … 61 60 # :: 62 61 # 63 # $ cd SAXO_ ws/SRC/Documentation/xmldoc/64 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i ../.. -t "SAXO Documentation" -o ./idldoc_html_output/ 62 # $ cd SAXO_DIR_ws/SRC/Documentation/xmldoc/ 63 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i ../.. -t "SAXO Documentation" -o ./idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 65 64 # 66 65 # To produce VARAMMA HTML outputs : … … 68 67 # 69 68 # $ cd /usr/home/fplod/incas/varamma/varamma_ws/ 70 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "VARAMMA Documentation" -o /tmp/idldoc_html_output/ 71 # 69 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "VARAMMA Documentation" -o /tmp/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 70 # 71 # To produce POST_IT HTML outputs : 72 # :: 73 # 74 # $ cd /usr/home/fplod/incas/post_it/post_it_ws/ 75 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "POST_IT/Documentation" -o /tmp/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 76 # 77 72 78 # TODO 73 79 # ==== 74 80 # 75 # ++ pb PATH introduire SAXO_PATH76 # can be solved with:77 # ::78 #79 # $ export PATH=${HOME}/SAXO_DIR/SRC/Documentation/xmldoc/:${PATH}80 #81 # ++ pb avec IDL_DIR pas tjs positionné82 # can be solved for linux with83 # ::84 #85 # $ export IDL_DIR=/usr/local_linux/idl/86 #87 # or for MacOSX with88 # ::89 #90 # $ export IDL_DIR=/usr/local_macosx/idl//idl_6.2/idl_6.2/91 #92 #93 81 # ++ choix de la version de idldoc et consequences sur assistant 94 82 # … … 105 93 # 106 94 # $Id$ 95 # 96 # - fplod 20091112T084225Z aedon.locean-ipsl.upmc.fr (Darwin) 97 # 98 # * bug fix if indir is set to '.' 99 # * idl_dir in parameter 100 # * path of local commands 107 101 # 108 102 # - fplod 20091110T151839Z aedon.locean-ipsl.upmc.fr (Darwin) … … 196 190 idldoc_version="2.0" 197 191 unset command_dir 198 192 # default IDL command and directory 193 #idl_dir=/usr/local_linux/idl/idl64/ # overriding idl_dir for test ++ 199 194 #idldoc_dir="/usr/home/fplod/src/idldoc-3.1.1/" # overriding idldoc_dir for test ++ 200 195 # 201 minargcount= 4196 minargcount=6 202 197 if [ ${#} -lt ${minargcount} ] 203 198 then … … 213 208 indir=${2} 214 209 shift 210 case ${indir} in 211 .) 212 indir=$(pwd) 213 ;; 214 esac 215 215 ;; 216 216 -t) … … 228 228 -idldoc_version) 229 229 idldoc_version=${2} 230 shift 231 ;; 232 -idl_dir) 233 idl_dir=${2} 230 234 shift 231 235 ;; … … 283 287 ;; 284 288 esac 289 # 285 290 # launch IDL with the file built above 286 291 export IDL_STARTUP=${pro} … … 366 371 # replace <pro>ginette</pro> by a sequence like 367 372 # <a href="./ginette.html">ginette</a> 368 pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro373 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro 369 374 status=${?} 370 375 if [ ${status} -ne 0 ] … … 375 380 # replace <proidl>ginette</proidl> by a sequence like 376 381 # <a href="./ginette.html">ginette</a> 377 pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl382 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${idl_dir}/help/online_help -e proidl 378 383 status=${?} 379 384 if [ ${status} -ne 0 ] … … 411 416 read a 412 417 # launch IDL with the file built above 413 IDL_STARTUP=${pro};${ IDL_DIR}/bin/idl418 IDL_STARTUP=${pro};${idl_dir}/bin/idl 414 419 /bin/rm ${pro} 415 420 # In order to do not have to many revision in svn, we modify some … … 461 466 # replace <pro>ginette</pro> by a sequence like 462 467 # <a href="./ginette.html">ginette</a> 463 pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro468 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro 464 469 status=${?} 465 470 if [ ${status} -ne 0 ] … … 470 475 # replace <proidl>ginette</proidl> by a sequence like 471 476 # <a href="./ginette.html">ginette</a> 472 pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl477 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${idl_dir}/help/online_help -e proidl 473 478 status=${?} 474 479 if [ ${status} -ne 0 ] … … 503 508 if [ ${nhtml} -ne 2 ] 504 509 then 505 echo "ERROR there is no t2 $( basename ${i} .pro ).html files"510 echo "ERROR there is no 2 $( basename ${i} .pro ).html files" 506 511 find ../.. -name $( basename ${i} .pro ).html 507 512 echo
Note: See TracChangeset
for help on using the changeset viewer.