Changeset 415 for trunk/SRC/Documentation/xmldoc/doidldoc.sh
- Timestamp:
- 11/18/09 12:18:52 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/doidldoc.sh
r413 r415 20 20 # -t title 21 21 # -o directory output 22 # -idl_dir idl_dir 22 23 # -idldoc_version idldoc_version 23 24 # -idldoc_dir idldoc_dir … … 63 64 # $ ${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/ 64 65 # 66 # To produce GEOMAG HTML outputs : 67 # :: 68 # 69 # $ cd /usr/home/fplod/incas/geomag/geomag_ws/ 70 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "GEOMAG Documentation" -o /usr/work/incas/${LOGNAME}/geomag/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 71 # 65 72 # To produce VARAMMA HTML outputs : 66 73 # :: … … 73 80 # 74 81 # $ 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/82 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "POST_IT/Documentation" -o /usr/work/incas/${LOGNAME}/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 76 83 # 77 84 … … 93 100 # 94 101 # $Id$ 102 # 103 # - fplod 20091112T101526Z zeus.locean-ipsl.upmc.fr (Linux) 104 # 105 # * replace mv by cp -r because mv may no works accross filesystems 106 # * add chek on outdir 95 107 # 96 108 # - fplod 20091112T084225Z aedon.locean-ipsl.upmc.fr (Darwin) … … 248 260 set -u 249 261 # 262 # check for outir 263 if [ ! -d ${outdir} ] 264 then 265 echo "eee : outdir (${outdir}) not found" 266 exit 1 267 fi 268 # check for permission access on outdir 269 if [ ! -x ${outdir} ] 270 then 271 echo " eee : ${outdir} not reachable" 272 exit 1 273 fi 274 # 275 # check for write permission on outdir 276 if [ ! -w ${outdir} ] 277 then 278 echo " eee : ${outdir} not writable" 279 exit 1 280 fi 281 # 250 282 # ++ test si IDL (car GDL inutilisable) 251 application=idl 252 # 253 # memorize current directory 254 memopwd=$(pwd) # should be <working space>/SRC/Documentation/xmldoc 283 application=${idl_dir}/bin/idl 255 284 # 256 285 # build a IDL file to launch idldoc … … 315 344 # build the .pro file name 316 345 bfile=$(basename ${file_html} .html) 317 # retrieve the path of html file relative to memopwd (so relative to318 # output).This path will be used in "Source" link.346 # retrieve the path of html file relative to output. 347 # This path will be used in "Source" link. 319 348 nblev2=$(dirname ${file_html} | sed -e "s@/\$@@" | awk -F "/" '{print NF}') 320 349 difflev=$((${nblev2} - ${nblev1})) … … 413 442 ;; 414 443 esac 415 more ${pro}416 read a417 444 # launch IDL with the file built above 418 445 IDL_STARTUP=${pro};${idl_dir}/bin/idl … … 464 491 mv ${file_html}_modify ${file_html} 465 492 done 493 # 466 494 # replace <pro>ginette</pro> by a sequence like 467 495 # <a href="./ginette.html">ginette</a> … … 516 544 fi 517 545 # copy of temporary outputs on final directory 518 # ++ if transform 519 mv ${outputtmp} ${outdir} 546 cp -r ${outputtmp}/* ${outdir} 520 547 echo "iii : look at ${outdir}/index.html" 521 548 echo "iii : you can see idldoc log file in ${idldoc_log}"
Note: See TracChangeset
for help on using the changeset viewer.