Changeset 431
- Timestamp:
- 04/20/10 15:14:28 (14 years ago)
- Location:
- trunk/SRC/Documentation/xmldoc
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/docompileall.sh
r430 r431 86 86 # 87 87 # - fplod 20091116T142010Z aedon.locean-ipsl.upmc.fr (Darwin) 88 # 88 # 89 89 # * remove dup if only SAXO 90 90 # … … 139 139 shift 140 140 ;; 141 142 143 144 145 146 147 148 149 150 151 152 153 154 141 -idl_dir) 142 idl_dir=${2} 143 shift 144 ;; 145 -h) 146 echo "${usage}" 147 exit 0 148 ;; 149 *) # other choice 150 echo "${usage}" 151 exit 1 152 ;; 153 esac 154 shift # next flag 155 155 done 156 156 # … … 160 160 if [ ! -d ${indir} ] 161 161 then 162 163 162 echo "eee : ${indir} not found" 163 exit 1 164 164 fi 165 165 # … … 178 178 if [ "${indir}" != "${SAXO_DIR}/SRC/" ] 179 179 then 180 180 cat <<EOF >> /tmp/docompileall${$}.pro 181 181 !path = expand_path('+' + '${indir}') + ':' + !path 182 182 EOF … … 208 208 if [ "${list_files}" = "" ] 209 209 then 210 211 212 fi 213 # 210 echo "eee : no . pro files found under ${indir}" 211 exit 1 212 fi 213 # 214 214 # loop on each file in the list to select PRO and FUNCTION modules 215 215 # ie exclude common files 216 216 for i in ${list_files} 217 217 do 218 219 220 221 222 223 224 218 # does it contains pro or function ? 219 egrep -iq '^ * *(pro|function)' ${i} 220 if [ ${?} -eq 0 ] 221 then 222 echo "print, '$( basename ${i} .pro ) :'" >> /tmp/docompileall${$}.pro 223 echo "resolve_all, resolve_either = '$( basename ${i} .pro )', skip_routines = ['xxx2ps','trends', 'label_gmt', 'report']" >> /tmp/docompileall${$}.pro 224 fi 225 225 done 226 226 echo "exit" >> /tmp/docompileall${$}.pro 227 227 # 228 #more /tmp/docompileall${$}.pro 228 #more /tmp/docompileall${$}.pro 229 229 export IDL_STARTUP=/tmp/docompileall${$}.pro 230 230 ${application} &> /tmp/docompileallerr_${$} … … 233 233 if [ ${?} -ne 0 ] 234 234 then 235 236 237 235 echo "all files are OK" 236 # clean 237 rm -f /tmp/docompileallerr_${$} /tmp/docompileall${$}.pro 238 238 else 239 grep "Compilation error(s)" /tmp/docompileallerr_${$} 240 echo "eee : see /tmp/docompileallerr_${$}" 241 more /tmp/docompileallerr_${$} 242 exit 1 243 fi 239 grep "Compilation error(s)" /tmp/docompileallerr_${$} 240 echo "eee : see /tmp/docompileallerr_${$}" 241 more /tmp/docompileallerr_${$} 242 exit 1 243 fi 244 244 245 # end 245 246 exit 0 -
trunk/SRC/Documentation/xmldoc/doidldoc.sh
r430 r431 26 26 # -r refhtml 27 27 # 28 # Two passes : first *classic* idldoc then some home made transformation 28 # Two passes : first *classic* idldoc then some home made transformation 29 29 # to avoid for example version of idldoc on each HTML files. 30 30 # … … 126 126 # 127 127 # - fplod 20091110T151839Z aedon.locean-ipsl.upmc.fr (Darwin) 128 # 128 # 129 129 # * add CAUTIONS about SAXO_DIR environment variable 130 130 # and usage in EXAMPLES … … 274 274 exit 0 275 275 ;; 276 *) # other choice 276 *) 277 # other choice 277 278 echo "${usage}" 278 279 exit 1 279 280 ;; 280 281 esac 281 shift # next flag 282 # next flag 283 shift 282 284 done 283 285 # … … 368 370 # build the .pro file name 369 371 bfile=$(basename ${file_html} .html) 370 # retrieve the path of html file relative to output. 372 # retrieve the path of html file relative to output. 371 373 # This path will be used in "Source" link. 372 374 nblev2=$(dirname ${file_html} | sed -e "s@/\$@@" | awk -F "/" '{print NF}') … … 425 427 ielement=1 426 428 while [ ${ielement} -le ${nelement} ] 427 do 429 do 428 430 # replace <element>ginette</element> by a sequence like 429 431 # <a href="./ginette.html">ginette</a> 430 432 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} \ 431 433 -r ${refhtml[${ielement}]} \ 432 -e ${element[${ielement}]} 434 -e ${element[${ielement}]} 433 435 status=${?} 434 436 if [ ${status} -ne 0 ] … … 439 441 ielement=$(( ${ielement} + 1)) 440 442 done 441 fi # end of transform = 1 443 # end of transform = 1 444 fi 442 445 # 443 446 # -
trunk/SRC/Documentation/xmldoc/firststeps_pre.sh
r430 r431 118 118 done 119 119 ## 120 cd .. # ie <working space of saxo>/SRC/Documentation/xmldoc 120 # cd to <working space of saxo>/SRC/Documentation/xmldoc 121 cd ../ 121 122 # 122 123 rm firststeps_sed.xml 2> /dev/null -
trunk/SRC/Documentation/xmldoc/forxxxdoc.sh
r430 r431 18 18 # add a parameter = the number of figpng/xxx_n.png 19 19 # fplod 2006-07-19T12:40:02Z aedon.locean-ipsl.upmc.fr (Darwin) 20 # first release 20 # first release 21 21 # 22 22 # … … 46 46 callout_ysize=12 # ++ should be obtain by parsing identify result 47 47 # 48 case ${capture} in 48 case ${capture} in 49 49 figpng/xxx_0101_org.png) 50 50 capture_xsize=520 #++ should be obtain by parsing identify result … … 52 52 # 53 53 # description of frames (title, xmin, ymin, xmax,ymax) 54 # nb : title and label are not yet used but they may be added in a kind of 54 # nb : title and label are not yet used but they may be added in a kind of 55 55 # comments 56 56 # later in xml as id or label … … 78 78 # 79 79 # description of frames (title, xmin, ymin, xmax,ymax) 80 # nb : title and label are not yet used but they may be added in a kind of 80 # nb : title and label are not yet used but they may be added in a kind of 81 81 # comments 82 82 # later in xml as id or label … … 126 126 # 127 127 # description of frames (title, xmin, ymin, xmax,ymax) 128 # nb : title and label are not yet used but they may be added in a kind of 128 # nb : title and label are not yet used but they may be added in a kind of 129 129 # comments 130 130 # later in xml as id or label … … 147 147 esac 148 148 # 149 # calculation of % of the rectangle of each zone for Calspair 149 # calculation of % of the rectangle of each zone for Calspair 150 150 iz=1 151 151 while [ ${iz} -le ${zone_nb} ] … … 206 206 iz=$(( ${iz} + 1 )) 207 207 done 208 209 208 fi 210 # +++ verrue mal codee... 209 # +++ verrue mal codee... 211 210 # 212 211 # … … 223 222 if [ ${convert_status} -ne 0 ] 224 223 then 225 echo " eee : convert doesn't work properly" >> ${log} 224 echo " eee : convert doesn't work properly" >> ${log} 226 225 echo " eee : return status = ${return_convert}" >> ${log} 227 226 exit 2 -
trunk/SRC/Documentation/xmldoc/getsaxo.html
r422 r431 125 125 126 126 127 <div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="saxo_src_tar" id="saxo_src_tar"></a>2.3.1. Get <span class="application">SAXO</span> source files ( 5.9MMb) </h4></div></div></div>127 <div class="sect3" lang="en" xml:lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="saxo_src_tar" id="saxo_src_tar"></a>2.3.1. Get <span class="application">SAXO</span> source files ( Mb) </h4></div></div></div> 128 128 129 129 <p> … … 136 136 </p> 137 137 <p> 138 ⊠and download it the latest version of the sources tar file: <a class="link" href="http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_ 20090723r402.tar.gz" target="_top">SAXO_SRC_20090723r402.tar.gz</a> (5.9MMb).138 ⊠and download it the latest version of the sources tar file: <a class="link" href="http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_.tar.gz" target="_top">SAXO_SRC_.tar.gz</a> ( Mb). 139 139 </p> 140 140 <p> 141 141 This tar.gz file could also be downloaded with <span class="command"><strong>wget</strong></span> or <span class="command"><strong>curl</strong></span> 142 142 </p><div class="variablelist"><dl><dt><span class="term"><span class="command"><strong>wget</strong></span></span></dt><dd><pre class="screen"> 143 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>wget</strong></span> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_ 20090723r402.tar.gz</code></em></code></strong>143 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>wget</strong></span> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_.tar.gz</code></em></code></strong> 144 144 </pre> 145 145 </dd><dt><span class="term"><span class="command"><strong>curl</strong></span></span></dt><dd><pre class="screen"> 146 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_ 20090723r402.tar.gz</code></em></code></strong>146 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_.tar.gz</code></em></code></strong> 147 147 </pre> 148 148 </dd></dl></div><p> … … 150 150 </p><pre class="screen"> 151 151 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>cd</strong></span> <em class="parameter"><code>${HOME}/SAXO_DIR</code></em></code></strong> 152 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>tar</strong></span> <code class="option">xvfz</code> <em class="parameter"><code>SAXO_SRC_ 20090723r402.tar.gz</code></em></code></strong>153 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>rm</strong></span> <em class="parameter"><code>SAXO_SRC_ 20090723r402.tar.gz</code></em></code></strong>152 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>tar</strong></span> <code class="option">xvfz</code> <em class="parameter"><code>SAXO_SRC_.tar.gz</code></em></code></strong> 153 <code class="prompt">$</code> <strong class="userinput"><code><span class="command"><strong>rm</strong></span> <em class="parameter"><code>SAXO_SRC_.tar.gz</code></em></code></strong> 154 154 </pre><p> 155 155 </p> -
trunk/SRC/Documentation/xmldoc/makefile
r416 r431 16 16 # $Id$ 17 17 # 18 # - fplod 20091118T112140Z aedon.locean-ipsl.upmc.fr (Darwin)19 18 # 19 # - fplod 20100420T122154Z aedon.locean-ipsl.upmc.fr (Darwin) 20 # 21 # * add design target 22 # 20 23 # - fplod 20091118T111913Z aedon.locean-ipsl.upmc.fr (Darwin) 21 24 # … … 55 58 ./ 56 59 60 DIRDESIGN = \ 61 ./design/ 62 57 63 DIRWWW = \ 58 64 ./ … … 64 70 all \ 65 71 clean \ 72 design \ 66 73 dbkcheck \ 67 74 help \ … … 84 91 -@rm -f $(DIRTMP)/getsaxo_sed.xml 85 92 -@rm -f $(DIRTMP)/firststeps_sed.xml 93 94 design : \ 95 $(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.png \ 96 $(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.svg 86 97 87 98 dbkcheck : … … 484 495 --output $@ \ 485 496 $< 497 $(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg 498 @convert $< $@ 499 500 $(DIRDESIGN)/images/%.svg : $(DIRDESIGN)/%.dot 501 @dot -Tsvg -o $@ $< 502 503 $(DIRDESIGN)/$(PRODUCT)_fulldependencies.dot : \ 504 ./makefile 505 @makeppgraph --graphviz --output=$@ 506 -
trunk/SRC/Documentation/xmldoc/pro2href.sh
r430 r431 2 2 # 3 3 # DESCRIPTION 4 # =========== 4 # =========== 5 5 # 6 6 # replace <element>ginette</element> by a sequence like with element given 7 7 # in argument <a href="./ginette.html">ginette</a> 8 8 # in all html files in dirhtml given in argument 9 # We have to deal with the path of ginette.html in refhtml also given in 9 # We have to deal with the path of ginette.html in refhtml also given in 10 10 # argument. 11 11 # … … 19 19 # add -e (element) parameter to define element syntax like 20 20 # <pro></pro> or <proidl>...</proidl> 21 # add -i parameter : this directory is the one where we are looking for 21 # add -i parameter : this directory is the one where we are looking for 22 22 # html files to be modified. so replace output by dirhtml 23 # add -r parameter : this directory is the one where we are looking for 23 # add -r parameter : this directory is the one where we are looking for 24 24 # html files to be linked 25 # remove lowercase translation (because of idl help files which are in 25 # remove lowercase translation (because of idl help files which are in 26 26 # uppercase) 27 27 # fplod 2007-08-20T11:25:39Z aedon.locean-ipsl.upmc.fr (Darwin) … … 49 49 do 50 50 case ${1} in 51 -i) # dirhtml51 -i) 52 52 dirhtml=${2} 53 53 shift 54 54 ;; 55 -r) # refhtml55 -r) 56 56 refhtml=${2} 57 57 shift 58 58 ;; 59 -e) # element59 -e) 60 60 element=${2} 61 61 shift … … 65 65 exit 0 66 66 ;; 67 *) # other choice 67 *) 68 # other choice 68 69 echo "${usage}" 69 70 exit 1 70 71 ;; 71 72 esac 72 shift # next flag 73 # next flag 74 shift 73 75 done 74 76 # … … 136 138 path="./" 137 139 fi 138 if [ "${lpath:0:1}" = "/" ] # absolute path140 if [ "${lpath:0:1}" = "/" ] 139 141 then 142 # absolute path 140 143 path=${lpath} 141 144 else -
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r430 r431 17 17 # * do not anymore transfert tools and temporary files on download/ 18 18 # 19 # already existing files have been removed manualy on 19 # already existing files have been removed manualy on 20 20 # saxo@forge:~/download/xmldoc/ 21 # 21 # 22 22 # - fplod 20100125T112917Z aedon.locean-ipsl.upmc.fr (Darwin) 23 # 23 # 24 24 # * complete doidldoc.sh calling sequence 25 25 # … … 187 187 rev=$( svn info | grep -i revision | awk '{print $NF}' ) 188 188 # memorize current directory 189 memopwd=$(pwd) # should be <working space>/SRC/Documentation/xmldoc 189 # should be <working space>/SRC/Documentation/xmldoc 190 memopwd=$(pwd) 190 191 # 191 192 #------------------------------------------------------------------ … … 252 253 cd ${memopwd} 253 254 make clean 254 make html 255 make html 255 256 fi 256 257 #------------------------------------------------------------------ … … 261 262 # 262 263 cd ${memopwd} 263 make clean 264 make clean 264 265 make tracwiki 265 266 fi … … 290 291 ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh \ 291 292 -i ../.. -t "SAXO Documentation" \ 292 -o ../idldoc_html_output/ 293 -o ../idldoc_html_output/ 293 294 -idl_dir ${idl_dir} 294 295 -e pro -r ../idldoc_html_output/ \ … … 607 608 [ -f job_data_idris_$$ ] && rm -f job_data_idris_$$ 608 609 # 609 exit 610 exit
Note: See TracChangeset
for help on using the changeset viewer.