Ignore:
Timestamp:
04/20/10 15:14:28 (14 years ago)
Author:
pinsard
Message:

add design target for documents productions

File:
1 edited

Legend:

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

    r430 r431  
    22# 
    33# DESCRIPTION 
    4 # ===========  
     4# =========== 
    55# 
    66# replace <element>ginette</element> by a sequence like with element given 
    77# in argument <a href="./ginette.html">ginette</a> 
    88# 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 
    1010# argument. 
    1111# 
     
    1919# add -e (element) parameter to define element syntax like 
    2020# <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 
    2222# 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 
    2424# 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 
    2626# uppercase) 
    2727# fplod 2007-08-20T11:25:39Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    4949do 
    5050   case ${1} in 
    51       -i) # dirhtml 
     51      -i) 
    5252         dirhtml=${2} 
    5353         shift 
    5454      ;; 
    55       -r) # refhtml 
     55      -r) 
    5656         refhtml=${2} 
    5757         shift 
    5858      ;; 
    59       -e) # element 
     59      -e) 
    6060         element=${2} 
    6161         shift 
     
    6565         exit 0 
    6666      ;; 
    67       *) # other choice 
     67      *) 
     68         # other choice 
    6869         echo "${usage}" 
    6970         exit 1 
    7071      ;; 
    7172   esac 
    72    shift # next flag 
     73   # next flag 
     74   shift 
    7375done 
    7476# 
     
    136138               path="./" 
    137139            fi 
    138             if [ "${lpath:0:1}" = "/" ] # absolute path 
     140            if [ "${lpath:0:1}" = "/" ] 
    139141            then 
     142               # absolute path 
    140143               path=${lpath} 
    141144            else 
Note: See TracChangeset for help on using the changeset viewer.