Changeset 50 for trunk


Ignore:
Timestamp:
03/28/08 16:17:18 (16 years ago)
Author:
pinsard
Message:

introducing urlpublish/URLPUBLISH

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.sh

    r31 r50  
    99# update : 
    1010# $Id$ 
     11# ++ -p should be suppress  it is not any more compulsary (-u is now the good one) 
     12# fplod 2008-03-28T10:26:58Z aedon.locean-ipsl.upmc.fr (Darwin) 
     13# new personnal webpages policy at LOCEAN so new command and new parameter (-u) 
    1114# fplod 2007-09-28T09:30:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
    1215# parametrisation and translation 
     
    2023log=/tmp/${command}.${log_date} 
    2124# 
    22 usage=" Usage : ${command} -w dirwww -p dirpublish" 
     25usage=" Usage : ${command} -w dirwww -p dirpublish -u urlpublish" 
    2326# 
    2427minargcount=4 
     
    3134fi 
    3235# 
     36# default 
     37dirpublish="none" 
     38# 
    3339while [ ! -z "${1}" ] 
    3440do 
     
    4046 -p) 
    4147  dirpublish=${2} 
     48  shift 
     49 ;; 
     50 -u ) 
     51  urlpublish=${2} 
    4252  shift 
    4353 ;; 
     
    5363case ${answer} in 
    5464    y|Y|n|N) 
    55         ;; 
     65        ;; 
    5666    *) 
    57         echo "Do you want to install on ${dirpublish}  (y|[n]) ?" 
    58         read answer 
    59         ;; 
     67        if [ "${dirpublish}" != "none" ] 
     68        then 
     69          echo "Do you want to install on ${dirpublish}  (y|[n]) ?" 
     70          read answer 
     71        fi 
     72        echo "Do you want to install on ${urlpublish}  (y|[n]) ?" 
     73        read answer 
     74        ;; 
    6075esac 
     76# 
    6177case ${answer} in 
    6278 y|Y) 
     79        if [ "${dirpublish}" != "none" ] 
     80 then 
    6381 # copy of ${dirwww} on $dirpublish 
    6482 echo "iii : update of ${dirpublish}" 
     
    7391    wget -q "http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" -O /dev/null 
    7492 fi 
     93else 
     94    # urlpublish=http://www.locean-ipsl.upmc.fr/~ginette/produit 
     95    dirpublish=${urlpublish##*~} 
     96    cd ${dirwww} 
     97    lftp -e "mirror -R . ${dirpublish}" -u ${LOGNAME} skyros.locean-ipsl.upmc.fr 
     98    # ++ bye  
     99    # ++ log 
     100fi 
     101 
    75102 ;; 
    76103 *) 
    77  echo "no update of ${dirpublish}" 
     104 echo "no update of ${dirpublish} or ${urlpublish}" 
    78105 ;; 
    79106esac 
  • trunk/linkchecker.sh

    r33 r50  
    22# 
    33# module : 
    4 # check links of acmo before and after installation 
     4# check links of a given directory or url 
    55# cf. install.sh 
    66# 
    77# original location : 
    8 # /usr/home/fplod/locean/acmo/doc/linkchecker.sh sur aedon.locean-ipsl.upmc.fr 
     8# /usr/home/fplod/src/superbib_ws/linkchecker.sh sur aedon.locean-ipsl.upmc.fr 
    99# 
    1010# update : 
     
    1212# ++ dirpublish forme fplod@cerbere.locean-ipsl.upmc.fr:./WWW/ par example 
    1313# donc pas http 
    14 # + ajouter la possibilite rde faire une carte du site avec 
     14# + ajouter la possibilite de faire une carte du site avec 
    1515# graphiz 
    16 # exemple synatxe = 
     16# exemple syntaxe = 
    1717# $ linkchecker -odot -v http://www.lodyc.jussieu.fr/NEMO/general/biblio_new/   | dot -Tps > sitemap.ps 
    1818# 
  • trunk/makefile

    r48 r50  
    478478$(DIRSRC)/platforms_db.xsl \ 
    479479$(DIRSRC)/processors_db.xsl 
    480         @touch $@ 
    481480 
    482481$(DIRSRC)/form_db.xsl : \ 
     
    489488$(DIRSRC)/processors_db.xsl \ 
    490489$(DIRSRC)/biblioentry_xml.xsl 
    491         @touch $@ 
    492490 
    493491$(DIRSRC)/biblioentry_xml.xsl : \ 
    494492$(DIRSRC)/correction_db.xsl 
    495         @touch $@ 
    496493 
    497494$(DIRSRC)/$(PRODUCT)01_html.xsl : \ 
    498495$(DIRTMP)/titlepage.$(PRODUCT).xsl 
    499         @touch $@ 
    500496 
    501497$(DIRSRC)/user_html.xsl : \ 
    502498$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    503499$(DIRSRC)/form_html.xsl 
    504         @touch $@ 
    505500 
    506501 
     
    508503$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    509504$(DIRSRC)/form_html.xsl 
    510         @touch $@ 
    511505 
    512506$(DIRSRC)/$(PRODUCT)02_html.xsl : \ 
    513507$(DIRTMP)/titlepage.$(PRODUCT).xsl 
    514         @touch $@ 
    515508 
    516509$(DIRSRC)/$(PRODUCT)many01_html.xsl : \ 
    517510$(DIRTMP)/titlepage.$(PRODUCT).xsl 
    518         @touch $@ 
    519511 
    520512$(DIRSRC)/$(PRODUCT)many02_html.xsl : \ 
    521513$(DIRTMP)/titlepage.$(PRODUCT).xsl \ 
    522514$(DIRSRC)/form_html.xsl 
    523         @touch $@ 
    524515 
    525516$(DIRSRC)/$(PRODUCT)_pdf.xsl : \ 
    526517$(DIRTMP)/titlepage.$(PRODUCT).xsl 
    527         @touch $@ 
    528518 
    529519$(DIRSRC)/$(PRODUCT)01_txt.xsl : \ 
    530520$(DIRTMP)/titlepage.$(PRODUCT).xsl 
    531         @touch $@ 
    532521 
    533522$(DIRSRC)/$(PRODUCT)01_xml.xsl : \ 
    534523$(DIRSRC)/biblioentry_xml.xsl 
    535         @touch $@ 
    536524 
    537525$(DIRSRC)/select_id.xsl : \ 
    538526$(DIRSRC)/firstname_id.xsl \ 
    539527$(DIRSRC)/surname_id.xsl 
    540         @touch $@ 
    541528 
    542529$(DIRSRC)/$(PRODUCT)many01_xml.xsl : \ 
     
    545532$(DIRSRC)/table_authors.xsl \ 
    546533$(DIRSRC)/biblioentry_xml.xsl 
    547         @touch $@ 
    548534 
    549535$(DIRSRC)/$(PRODUCT)many02_xml.xsl : \ 
     
    551537$(DIRSRC)/surname_id.xsl \ 
    552538$(DIRSRC)/table_authors.xsl 
    553         @touch $@ 
    554539 
    555540$(DIRSRC)/$(PRODUCT)02_xml.xsl : \ 
     
    558543$(DIRSRC)/table_authors.xsl \ 
    559544$(DIRSRC)/biblioentry_xml.xsl 
    560         @touch $@ 
    561545 
    562546$(DIRSRC)/template_db.xsl : \ 
    563547$(DIRSRC)/form_db.xsl 
    564         @touch $@ 
    565548 
    566549$(DIRSRC)/years_gnuplot.xsl : \ 
    567550$(DIRSRC)/biblioentry_xml.xsl 
    568         @touch $@ 
    569551 
    570552$(DIRDOC)/images/$(PRODUCT)_fulldependencies.png : \ 
Note: See TracChangeset for help on using the changeset viewer.