Ignore:
Timestamp:
06/02/06 17:55:30 (18 years ago)
Author:
smasson
Message:

new getsaxo, makehtml and savesaxo

File:
1 edited

Legend:

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

    r86 r87  
    1313doidldoc_assistant=0 
    1414doidlwavedoc=0 
    15 dotar=1 
     15dotarsrc=1 
     16dotardata=0 
     17doforge=1 
    1618dolodyc=0 
    17 doforge=1 
    1819# 
    1920# memorize current directory 
     
    6970fi 
    7071# 
    71 if [ ${dotar} -eq 1 ] 
     72if [ ${dotarsrc} -eq 1 ] 
    7273then 
    7374    localtarbase=/tmp/savesaxo_${$} 
    7475    mkdir  ${localtarbase}/ 
    75 # prepare the source tar (without the data...) 
     76# clean backup files : *~ 
    7677# 
    77     cd ${memopwd}/../.. 
    78     tar czf ${localtarbase}/SAXO_RD_${ndate}.tar.gz --exclude .svn * 
     78    cd ${memopwd}/../../.. 
     79    find . -name "*~" -exec rm {} \; 
     80# prepare the source tar (without the svn...) 
    7981# 
    80 # prepare the test_data tar 
    81 # 
    82     cd ${memopwd}/../../DATA/ 
    83     tar czf ${localtarbase}/TestsData_${ndate}.tar.gz  --exclude .svn * 
     82    cd ${memopwd}/../../.. 
     83    tar czf ${localtarbase}/SAXO_SRC_${ndate}.tar.gz --exclude .svn SRC 
    8484# 
    8585#   informations 
    86     echo "iii : following files may be copied on http://forge.ipsl.jussieu.fr/saxo/download/"  
     86    echo "iii : following file may be copied on http://forge.ipsl.jussieu.fr/saxo/download/"  
     87    ls -l ${localtarbase} 
     88fi 
     89if [ ${dotardata} -eq 1 ] 
     90then 
     91    localtarbase=/tmp/savesaxo_${$} 
     92    mkdir  ${localtarbase}/ 
     93# 
     94# prepare the data tar (without the svn...) 
     95# 
     96    cd ${memopwd}/../../.. 
     97    tar czf ${localtarbase}/SAXO_DATA_${ndate}.tar.gz  --exclude .svn DATA 
     98# 
     99#   informations 
     100    echo "iii : following file may be copied on http://forge.ipsl.jussieu.fr/saxo/download/"  
    87101    ls -l ${localtarbase} 
    88102fi 
     
    91105then 
    92106    echo "iii : you will be asked saxo@forge.ipsl.jussieu.fr passwd two times" 
    93     if [ ${dotar} -ne 1 ] 
     107    if [ ${dotarsrc} -ne 1 ] 
    94108    then 
    95109       localtarbase=${1}  
Note: See TracChangeset for help on using the changeset viewer.