Changeset 437


Ignore:
Timestamp:
07/01/10 17:29:28 (14 years ago)
Author:
pinsard
Message:

test (not yet ok) with idldoc 3.2 using rst headers

Location:
trunk/SRC/Documentation/xmldoc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/docompileall.sh

    r431 r437  
    132132# 
    133133# read parameters on command line 
     134set +u 
    134135while [ ! -z "${1}" ] 
    135136do 
  • trunk/SRC/Documentation/xmldoc/doidldoc.sh

    r431 r437  
    1 #! /bin/sh 
     1#! /bin/sh -x 
    22#+ 
    33# 
     
    7979# 
    8080# $ cd /usr/home/fplod/incas/varamma/varamma_ws/ 
    81 # $ ${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/ -e pro -r ../idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help 
     81# $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "VARAMMA Documentation" \ 
     82#   -o /tmp/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ \ 
     83#   -idldoc_version 3.2 -idldoc_dir /usr/home/incas/francoise/idldoc-3.2_aedon.locean-ipsl.upmc.fr///idldoc-3.2/ \ 
     84#   -e pro -r ../idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help 
    8285# 
    8386# To produce POST_IT HTML outputs : 
     
    9598# doc idl 
    9699# 
     100# idldoc 3.2 (beware of sphinx compatibility) 
     101# 
    97102# add checking of consistency between numbers of -e and -r parameters 
    98103# 
     
    108113# 
    109114# $Id$ 
     115# 
     116# - fplod 20100701T144720Z aedon.locean-ipsl.upmc.fr (Darwin) 
     117# 
     118#   * test with idldoc 3.2 (no more 3.1.1) on VARAMMA project. not yet ok 
    110119# 
    111120# - fplod 20100125T105849Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    229238fi 
    230239# 
    231 while [ ! -z "${1}" ] # ++ pb bash 
     240set +u 
     241while [ ! -z "${1}" ] 
    232242do 
    233243   case ${1} in 
     
    316326cd ${idldoc_dir} 
    317327case ${idldoc_version} in 
    318    3.1.1) 
     328   3.2) 
    319329      cat << EOF > ${pro} 
    320330!path = expand_path('+' + '${idldoc_dir}') 
     
    451461   pro="/tmp/idldocassistant_${$}.pro" 
    452462   case ${idldoc_version} in 
    453       3.1.1) 
     463      3.2) 
    454464         echo "iii : assistant is not feasable with idldoc > 2.0" 
    455465      ;; 
  • trunk/SRC/Documentation/xmldoc/pro2href.sh

    r431 r437  
    4646usage=" Usage : ${command} -i dirhtml -r refhtml -e element" 
    4747# 
     48set +u 
    4849while [ ! -z "${1}" ] 
    4950do 
  • trunk/SRC/Documentation/xmldoc/savesaxo.sh

    r431 r437  
    1 #!/bin/bash 
     1#!/bin/bash -x 
    22# 
    33# 
     
    66# 
    77# use doidldoc.sh for assistant outputs 
     8# 
     9# surveiller gdl pour voir l'apparition de resolve_all dans les version > 0.9rc4 
     10# 
     11# - fplod 20100511T133249Z dedale.locean-ipsl.upmc.fr (Linux) 
     12#    * working with fl : 
     13# % Error: RESOLVE_ALL: can not resolve: function ADAPT_HIST_EQUAL 
    814# 
    915# EVOLUTIONS 
     
    141147# reference is idl 64 on zeus.locean-ipsl.upmc.fr 
    142148idl_dir=/usr/local_linux/idl/idl_6.4/idl/ 
    143 # 
    144 docompileall=0 
     149# reference gdl on aedon.locean-ipsl.upmc.fr 
     150idl_dir=/opt/local/bin/ 
     151# reference fl on dedale.locean-ipsl.upmc.fr 
     152idl_dir=/usr/temp/fplod/fl/fl_0.79a/bin/ 
     153# 
     154docompileall=1 
    145155dohtml=0 
    146156dowiki=0 
     
    185195# 
    186196ndate=`date +%Y%m%d` 
    187 rev=$( svn info | grep -i revision | awk '{print $NF}' ) 
    188197# memorize current directory 
    189198# should be <working space>/SRC/Documentation/xmldoc 
    190199memopwd=$(pwd) 
     200application="FL" 
    191201# 
    192202#------------------------------------------------------------------ 
    193203if [ ${docompileall} -eq 1 ] 
    194204then 
    195    cat <<EOF > /tmp/compileall${$}.pro 
     205    case ${application} in 
     206       'idl') 
     207           cat << EOF > /tmp/compileall${$}.pro 
    196208.reset_session 
    197209; 
     
    214226; 
    215227EOF 
     228;; 
     229FL) 
     230   cat <<EOF > /tmp/compileall${$}.pro 
     231.reset_session 
     232; 
     233!path = expand_path('+' + '../..') + ':' + expand_path('+' + !path) 
     234resolve_all 
     235def_myuniquetmpdir 
     236oldcm = find('oldcm_empty') 
     237;oldcm = find('oldcm_full') 
     238oldcm = oldcm[0] 
     239@cm_general 
     240file_copy, oldcm, myuniquetmpdir + 'oldcm_used.pro', /overwrite 
     241!path = myuniquetmpdir + ':' + !path 
     242IF !journal NE 0 THEN journal 
     243journal, myuniquetmpdir + 'cm_demomode_used.pro' 
     244journal 
     245path_cache, /rebuild 
     246; 
     247resolve_all, resolve_either='keep_compatibility', skip_routines = ['xxx2ps','trends', 'label_gmt'] 
     248; 
     249EOF 
     250;; 
     251GDL) 
     252;; 
     253*)  
     254echo "eee : unknown application" 
     255exit 1 
     256esac 
    216257# 
    217258   for i in $( find ${memopwd}/../.. -name "*.pro" | grep -iv label_gmt  | grep -iv report ) 
     
    227268   echo "exit" >> /tmp/compileall${$}.pro 
    228269   IDL_STARTUP=/tmp/compileall${$}.pro 
    229    ${idl_dir}/bin/idl &> /tmp/compileallerr_${$} 
     270#++   ${idl_dir}/bin/idl &> /tmp/compileallerr_${$} 
     271#++   ${idl_dir}/gdl &> /tmp/compileallerr_${$} 
     272   ${idl_dir}/fl  
     273   ${idl_dir}/fl &> /tmp/compileallerr_${$} 
     274 
    230275   echo 
    231276   echo 
     
    418463if [ ${doTARsrc} -eq 1 ] 
    419464then 
     465   rev=$( svn info | grep -i revision | awk '{print $NF}' ) 
    420466   localtarbase=/tmp/savesaxo_${$} 
    421467   mkdir ${localtarbase}/ 
Note: See TracChangeset for help on using the changeset viewer.