Ignore:
Timestamp:
09/14/06 16:21:09 (18 years ago)
Author:
smasson
Message:

update getsaxo + revision number in SRC tar file + improve exit status of /mergeonline_help.sh

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

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/getsaxo.html

    r160 r179  
    219219</div> 
    220220<p>The <span class="bold"><strong>complete</strong></span> latest 
    221 revision (source + tests data files: 782 Mb) can be checked out 
     221revision (source + tests data files: 791 Mb) can be checked out 
    222222with the following command executed in your <code class= 
    223223"envar">${HOME}</code>:</p> 
     
    231231</pre> 
    232232<p>The latest revision of the <span class="bold"><strong>source 
    233 files</strong></span> (55 Mb) can be checked out with the following 
     233files</strong></span> (64 Mb) can be checked out with the following 
    234234command:</p> 
    235235<pre class="screen"> 
     
    289289<h4 class="title"><a name="saxo_src_tar" id= 
    290290"saxo_src_tar"></a>2.3.1.&nbsp; Get <span class= 
    291 "application">SAXO</span> source files (5.5M Mb)</h4> 
     291"application">SAXO</span> source files (5.8M Mb)</h4> 
    292292</div> 
    293293</div> 
     
    313313<p>... and download it the latest version of the sources tar file: 
    314314<a href= 
    315 "http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060828.tar.gz" 
    316 target="_top">SAXO_SRC_20060828.tar.gz</a> (5.5M Mb). This tar.gz 
    317 file could also be downloaded with</p> 
     315"http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060914r178.tar.gz" 
     316target="_top">SAXO_SRC_20060914r178.tar.gz</a> (5.8M Mb). This 
     317tar.gz file could also be downloaded with</p> 
    318318<div class="variablelist"> 
    319319<dl> 
     
    325325"userinput"><code><span><strong class= 
    326326"command">wget</strong></span> <em class= 
    327 "parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060828.tar.gz</code></em></code></strong> 
     327"parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060914r178.tar.gz</code></em></code></strong> 
    328328           
    329329</pre></dd> 
     
    336336"command">curl</strong></span> <code class= 
    337337"option">-O</code> <em class= 
    338 "parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060828.tar.gz</code></em></code></strong> 
     338"parameter"><code>http://forge.ipsl.jussieu.fr/saxo/download/SAXO_SRC_20060914r178.tar.gz</code></em></code></strong> 
    339339           
    340340</pre></dd> 
     
    352352"command">tar</strong></span> <code class= 
    353353"option">xvfz</code> <em class= 
    354 "parameter"><code>SAXO_SRC_20060828.tar.gz</code></em></code></strong> 
     354"parameter"><code>SAXO_SRC_20060914r178.tar.gz</code></em></code></strong> 
    355355  <code class="prompt">$</code> <strong class= 
    356356"userinput"><code><span><strong class= 
    357357"command">rm</strong></span> <em class= 
    358 "parameter"><code>SAXO_SRC_20060828.tar.gz</code></em></code></strong> 
     358"parameter"><code>SAXO_SRC_20060914r178.tar.gz</code></em></code></strong> 
    359359         
    360360</pre></div> 
  • trunk/SRC/Documentation/xmldoc/mergeonline_help.sh

    r177 r179  
    11#!/bin/sh 
    22# 
    3 # $Is$ 
     3# history 
     4# Sept 2006: Sebastien Masson (smasson\@lodyc.jussieu.fr) 
     5# 
     6# version 
     7# $Id$ 
    48# 
    59homeidl=$1 
     
    2731   </profile>   
    2832EOF 
     33[ $? -ne 0 ] && exit 1 
    2934# extract part from </profile> to </assistantconfig> 
    3035# put the complete path of the references 
     
    3439    -e "s?ref=\"?ref=\"${homeidl}/?g" \ 
    3540    ${homeidl}/idl.adp  >> ${homesrc}/idl.adp 
     41[ $? -ne 0 ] && exit 1 
    3642 
    3743# extract part from </profile> 
     
    4147    -e "s?ref=\"?ref=\"${homesaxo}/?g" \ 
    4248    ${homesaxo}/idldoc-lib.adp >> ${homesrc}/idl.adp 
     49[ $? -ne 0 ] && exit 1 
    4350 
    4451############################################################# 
     
    4956sed -e "s?ref=\"?ref=\"${homeidl}/?g" \ 
    5057    ${homeidl}/home.html > ${homesrc}/home.html 
    51 # add line for SAXO Directory after the first </h3> 
     58[ $? -ne 0 ] && exit 1 
     59# number of the line containing the first </h3> 
     60grep -n '</h3>' ${homesrc}/home.html > /tmp/toto$$  
     61[ $? -ne 0 ] && exit 1 
     62numline=$( head -n 1 /tmp/toto$$ ) 
     63[ $? -ne 0 ] && exit 1 
     64numline=$( echo ${numline} | cut -b1-2 ) 
     65[ $? -ne 0 ] && exit 1 
     66# define the part to be added after the first </h3> 
    5267cat << EOF > /tmp/toto$$ 
    5368<a name="SAXOdir"> </a><p class="pIndentedRelative"><img src="images/blueball_idl.gif" id="blueballSAXOdir" border="0" hspace="0" vspace="0"/> &#160;&#160;<a href="${homesaxo}/home.html">SAXO Directory</a></p> 
    5469EOF 
    55 numline=$( grep -n '</h3>' ${homesrc}/home.html | head -1 | cut -b1-2 ) 
     70[ $? -ne 0 ] && exit 1 
     71# add line for SAXO Directory after the first </h3> 
    5672sed -e "${numline}r /tmp/toto$$" ${homesrc}/home.html > /tmp/toto2$$  
     73[ $? -ne 0 ] && exit 1 
    5774mv -f /tmp/toto2$$ ${homesrc}/home.html 
    58 # add line for SAXO Home Page after the last </h3> 
     75[ $? -ne 0 ] && exit 1 
     76# number of the line containing the last </h3> 
     77grep -n '</h3>' ${homesrc}/home.html > /tmp/toto$$  
     78[ $? -ne 0 ] && exit 1 
     79numline=$( tail -n 1 /tmp/toto$$ ) 
     80[ $? -ne 0 ] && exit 1 
     81numline=$( echo ${numline} | cut -b1-2 ) 
     82[ $? -ne 0 ] && exit 1 
     83# define the part to be added after the last </h3> 
    5984cat << EOF > /tmp/toto$$ 
    6085<a name="SAXOweb"> </a><p class="pIndentedRelative"><img src="images/blueball_idl.gif" id="blueballSAXOweb" border="0" hspace="0" vspace="0"/> &#160;&#160;<a href="http://forge.ipsl.jussieu.fr/saxo">SAXO Home Page</a> </p>   
    6186EOF 
    62 numline=$( grep -n '</h3>' ${homesrc}/home.html | tail -1 | cut -b1-2 ) 
     87[ $? -ne 0 ] && exit 1 
     88# add line for SAXO Home Page after the last </h3> 
    6389sed -e "${numline}r /tmp/toto$$" ${homesrc}/home.html > /tmp/toto2$$  
     90[ $? -ne 0 ] && exit 1 
    6491mv -f /tmp/toto2$$ ${homesrc}/home.html 
     92[ $? -ne 0 ] && exit 1 
    6593# put the complete path of the images except for SAXOIDL_OnlineHelp_title.png 
    6694sed -e "s?src=\"?src=\"${homeidl}/?g" \ 
    6795    -e "s?src=\".*IDL_OnlineHelp_Title\.gif\"?src=\"${homesaxo}/../xmldoc/images/SAXOIDL_OnlineHelp_title\.png\"?g" \ 
    6896    ${homesrc}/home.html > /tmp/toto$$  
     97[ $? -ne 0 ] && exit 1 
    6998mv -f /tmp/toto$$ ${homesrc}/home.html 
     99[ $? -ne 0 ] && exit 1 
    70100############################################################# 
    71101# create the file aboutsaxo.txt from overview 
     
    74104# remove the line with @ in the file overview 
    75105sed -e '/@/d' ${homesaxo}/../../overview > ${homesrc}/aboutsaxo.txt 
     106[ $? -ne 0 ] && exit 1 
    76107# add a link to saxo page 
    77108cat <<EOF >> ${homesrc}/aboutsaxo.txt 
     
    81112 
    82113EOF 
     114[ $? -ne 0 ] && exit 1 
     115exit 0 
  • trunk/SRC/Documentation/xmldoc/savesaxo.sh

    r177 r179  
    33# update : 
    44# $Id$ 
     5# smasson Thu Sep 14 15:19:23 CEST 2006 
     6# add the revision number in the name of SAXO_SRC_*.tar.gz 
    57# smasson Wed Sep 13 14:18:02 CEST 2006 
    68# add the directory-overview.html from dir-files.html in idldoc_html_output 
     
    105107# 
    106108ndate=`date +%Y%m%d` 
     109rev=$( svn info | grep -i revision | awk '{print $NF}' ) 
    107110# memorize current directory 
    108111memopwd=$(pwd) # should be <working space>/SRC/Documentation/xmldoc 
     
    390393# 
    391394    cd ${memopwd}/../../.. 
    392     tar czf ${localtarbase}/SAXO_SRC_${ndate}.tar.gz --exclude .svn SRC 
     395    tar czf ${localtarbase}/SAXO_SRC_${ndate}r${rev}.tar.gz --exclude .svn SRC 
    393396# 
    394397#   informations 
Note: See TracChangeset for help on using the changeset viewer.