Ignore:
Timestamp:
09/21/06 15:55:54 (18 years ago)
Author:
pinsard
Message:

remove format=raw in all html files 2/2; add svn keyword to idldoc-lib.adp

File:
1 edited

Legend:

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

    r188 r189  
    33# update : 
    44# $Id$ 
     5# fplod 2006-09-21T13:05:32Z aedon.locean-ipsl.upmc.fr (Darwin) 
     6# add an svn id in idldoc-lib.adb 
    57# fplod 2006-09-20T16:34:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
    68# suppress ?format=raw 
     
    7981set -u 
    8082# 
    81 docompileall=0 
     83docompileall=1 
    8284dohtml=0 
    8385dooldtest=0 
     
    9395doSRCidris=0 
    9496doDTAidris=0 
    95 dodocdownload=1 
     97dodocdownload=0 
    9698# 
    9799case $( whoami ) in 
     
    389391      cp ${file_html} ${fout} 
    390392    done 
     393    # add an id in idldoc-lib.adp 
     394    cat << EOF > /tmp/adp_modification 
     395<!-- \$Id\$ --> 
     396EOF 
     397    sed -e "/<assistantconfig/r /tmp/adp_modification" \ 
     398     ../idldoc_assistant_output/idldoc-lib.adp > \ 
     399     ../idldoc_assistant_output/idldoc-lib.adp_${$} 
     400    mv ../idldoc_assistant_output/idldoc-lib.adp_${$} \ 
     401    ../idldoc_assistant_output/idldoc-lib.adp 
     402    rm /tmp/adp_modification 
    391403    echo "iii : you can see log file in ${log}" 
    392404    echo "iii : and look ${output}/idldoc-warnings.html#undoc" 
     
    532544then 
    533545    # ++ on pourrait peut-etre faire un rsync en enlevant les .sh et le .xsl 
    534     # ++ les .sh et le .xsl sont pour l'instant encore là 
     546    # et faire le ménage des fichiers qui n'existent plus 
    535547    echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd several times" 
    536548    # 
     
    543555    find /tmp/download_${$}/ -name ".svn" -exec rm -rf {} \; 
    544556    # 
    545     # replace "../../" by http://forge.ipsl.jussieu.fr/saxo/browser/trunk/SRC/ 
    546     # on ulink lines containing ../../ToBeReviewed/ and ../../Test/ 
     557    # replace relative path  
     558    # by http://forge.ipsl.jussieu.fr/saxo/browser/trunk/SRC/ 
     559    # on ulink lines containing ../../ToBeReviewed/ and ../../Test/ and newheader  
    547560    list_html=$(find /tmp/download_${$}/ -name "*.html") 
    548561    for file_html in ${list_html} 
     
    552565     sed -e "/..\/..\/Test/s+../../+http://forge.ipsl.jussieu.fr/saxo/browser/trunk/SRC/+"  ${file_html}  > ${file_html}_${$} 
    553566     mv ${file_html}_${$} ${file_html}  
    554     done 
    555     #++scp -rp /tmp/download_${$}/xmldoc/ ${lgforge}@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/ 
     567     sed -e "/..\/newheader/s+../../+http://forge.ipsl.jussieu.fr/saxo/browser/trunk/SRC/Documentation/+"  ${file_html}  > ${file_html}_${$} 
     568     mv ${file_html}_${$} ${file_html}  
     569    done 
    556570    scp -rp /tmp/download_${$}/* ${lgforge}@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/ 
    557571    rm -rf /tmp/download_${$}/ 
Note: See TracChangeset for help on using the changeset viewer.