Changeset 63


Ignore:
Timestamp:
05/13/09 15:56:06 (15 years ago)
Author:
pinsard
Message:

improve manuals production

Location:
trunk/adm
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/adm/makefile

    r61 r63  
    2424# 
    2525# $Id$ 
     26# 
     27# - fplod 2009-05-13T12:48:45Z aedon.locean-ipsl.upmc.fr (Darwin) 
     28# 
     29#   * implicit rules 
     30# 
     31#     nb : may be will only work wih GNU make 
     32#     but easier to update : only one line to add in thi makefile when 
     33#     a new file (.pro or .sh) is added in $(DIRSRC) directory 
     34# 
     35#   * rst2latex usage of manuals_many.sty and manual_one.sty (for TOC and parindent) 
     36#   * bug fix for PDF manual (missing one pdf2latex) 
    2637# 
    2738# - fplod 2009-04-03T08:01:24Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    8596DIRSRC = \ 
    8697../src/ 
     98 
     99DIRADM = \ 
     100./ 
    87101 
    88102DIRTMP = \ 
     
    102116$(DIRSRC)/tlogd.sh \ 
    103117$(DIRSRC)/refdataget.sh 
     118 
     119LIST_SRCSH_RST = \ 
     120$(shell echo "$(LIST_SRCSH)" | \ 
     121        sed -e "s+$(DIRSRC)+$(DIRTMP)+g" \ 
     122            -e "s+\.sh+.sh.rst+g") 
     123 
     124LIST_SRCSH_HTML = \ 
     125$(shell echo "$(LIST_SRCSH)" | \ 
     126        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \ 
     127            -e "s+\.sh+.sh.html+g") 
     128 
     129LIST_SRCSH_PDF = \ 
     130$(shell echo "$(LIST_SRCSH)" | \ 
     131        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" -e "s+\.sh+.sh.pdf+g") 
    104132 
    105133LIST_SRCMATLAB = \ 
     
    129157$(DIRSRC)/SIMULS_IRCAAM/prepare_olr_filtre_simulation.m 
    130158 
     159LIST_SRCMATLAB_RST = \ 
     160$(shell echo "$(LIST_SRCMATLAB)" | \ 
     161        sed -e "s+$(DIRSRC)/mode_sahelien+$(DIRTMP)+g" \ 
     162            -e "s+$(DIRSRC)/SIMULS_IRCAAM+$(DIRTMP)+g" \ 
     163            -e "s+$(DIRSRC)+$(DIRTMP)+g" \ 
     164            -e "s+\.m+.m.rst+g") 
     165 
     166LIST_SRCMATLAB_HTML = \ 
     167$(shell echo "$(LIST_SRCMATLAB)" | \ 
     168        sed -e "s+$(DIRSRC)/mode_sahelien/+$(DIRWWW)/manuals/html/many/+g" \ 
     169            -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/html/many/+g" \ 
     170            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \ 
     171            -e "s+\.m+.m.html+g") 
     172 
     173LIST_SRCMATLAB_PDF = \ 
     174$(shell echo "$(LIST_SRCMATLAB)" | \ 
     175        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" -e "s+\.m+.m.pdf+g") 
     176 
    131177LIST_SRCFORTRAN = \ 
    132178$(DIRSRC)/SIMULS_IRCAAM/progfiltrage_simulation.F90 \ 
    133179$(DIRSRC)/forfilter.f 
    134180 
     181LIST_SRCFORTRAN_RST = \ 
     182$(shell echo "$(LIST_SRCFORTRAN)" | \ 
     183        sed -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRTMP)+g" \ 
     184            -e "s+$(DIRSRC)+$(DIRTMP)+g" \ 
     185            -e "s+\.F90+.F90.rst+g" \ 
     186            -e "s+\.f+.f.rst+g") 
     187 
     188LIST_SRCFORTRAN_HTML = \ 
     189$(shell echo "$(LIST_SRCFORTRAN)" | \ 
     190        sed -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/html/many/+g" \ 
     191            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \ 
     192            -e "s+\.F90+.F90.html+g" \ 
     193            -e "s+\.f+.f.html+g") 
     194 
     195LIST_SRCFORTRAN_PDF = \ 
     196$(shell echo "$(LIST_SRCFORTRAN)" | \ 
     197        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" \ 
     198            -e "s+\.F90+.F90.pdf+g") \ 
     199            -e "s+\.f+.f.pdf+g") 
     200 
     201 
     202RST2HTML = \ 
     203rst2html.py 
     204 
     205RST2LATEX = \ 
     206rst2latex.py 
     207 
    135208RST2LATEX_OPTIONS_ONE = \ 
    136209--documentclass=book \ 
     210--stylesheet=manual_one.sty \ 
     211--use-latex-toc \ 
     212--section-numbering \ 
    137213--traceback \ 
    138214--use-verbatim-when-possible 
     
    140216RST2LATEX_OPTIONS_MANY = \ 
    141217--documentclass=article \ 
     218--stylesheet=manuals_many.sty \ 
    142219--traceback \ 
    143220--use-verbatim-when-possible 
     
    155232 
    156233help : 
     234        @echo "LIST_SRCMATLAB : $(LIST_SRCMATLAB)" 
     235        @echo "LIST_SRCMATLAB_RST : $(LIST_SRCMATLAB_RST)" 
    157236        @echo "Prepare output directories :" 
    158237        @echo "\$$ make before" 
     
    222301man_html_many : \ 
    223302$(DIRWWW)/manuals/html/many/index.html \ 
    224 $(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html \ 
    225 $(DIRWWW)/manuals/html/many/dlogd.sh.html \ 
    226 $(DIRWWW)/manuals/html/many/elogd.sh.html \ 
    227 $(DIRWWW)/manuals/html/many/plogd.sh.html \ 
    228 $(DIRWWW)/manuals/html/many/tlogd.sh.html \ 
    229 $(DIRWWW)/manuals/html/many/refdataget.sh.html \ 
    230 $(DIRWWW)/manuals/html/many/$(PRODUCT)_startup.m.html \ 
    231 $(DIRWWW)/manuals/html/many/sauvegrads.m.html \ 
    232 $(DIRWWW)/manuals/html/many/cartemonde.m.html \ 
    233 $(DIRWWW)/manuals/html/many/cartemonde1.m.html \ 
    234 $(DIRWWW)/manuals/html/many/palette.m.html \ 
    235 $(DIRWWW)/manuals/html/many/palettecomplet.m.html \ 
    236 $(DIRWWW)/manuals/html/many/palette1.m.html \ 
    237 $(DIRWWW)/manuals/html/many/palette3.m.html \ 
    238 $(DIRWWW)/manuals/html/many/palettejerome30.m.html \ 
    239 $(DIRWWW)/manuals/html/many/time_serie_ER_rossby_df.m.html \ 
    240 $(DIRWWW)/manuals/html/many/time_serie_ER_rossby_df_complet.m.html \ 
    241 $(DIRWWW)/manuals/html/many/carte_eof_ER_jjas_df.m.html \ 
    242 $(DIRWWW)/manuals/html/many/olr_eof_jjas2006_rossby_df.m.html \ 
    243 $(DIRWWW)/manuals/html/many/carte_eof234_jjas_df.m.html \ 
    244 $(DIRWWW)/manuals/html/many/reconstitution_ER_rossby_df.m.html \ 
    245 $(DIRWWW)/manuals/html/many/time_serie_histog_phase.m.html \ 
    246 $(DIRWWW)/manuals/html/many/time_serie_histog_phase_num.m.html \ 
    247 $(DIRWWW)/manuals/html/many/composite_olr_phase.m.html \ 
    248 $(DIRWWW)/manuals/html/many/composite_olr_phase_num.m.html \ 
    249 $(DIRWWW)/manuals/html/many/composite_olr_eof_df.m.html \ 
    250 $(DIRWWW)/manuals/html/many/time_serie_jjas_df.m.html \ 
    251 $(DIRWWW)/manuals/html/many/time_serie_eof_df.m.html \ 
    252 $(DIRWWW)/manuals/html/many/carte_eof_df.m.html \ 
    253 $(DIRWWW)/manuals/html/many/prepare_olr_filtre_simulation.m.html \ 
    254 $(DIRWWW)/manuals/html/many/progfiltrage_simulation.F90.html \ 
    255 $(DIRWWW)/manuals/html/many/forfilter.f.html 
     303$(LIST_SRCSH_HTML) \ 
     304$(LIST_SRCMATLAB_HTML) \ 
     305$(LIST_SRCFORTRAN_HTML) 
    256306 
    257307man_pdf : \ 
     
    263313 
    264314man_pdf_many : \ 
    265 $(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf \ 
    266 $(DIRWWW)/manuals/pdf/many/dlogd.sh.pdf \ 
    267 $(DIRWWW)/manuals/pdf/many/elogd.sh.pdf \ 
    268 $(DIRWWW)/manuals/pdf/many/plogd.sh.pdf \ 
    269 $(DIRWWW)/manuals/pdf/many/tlogd.sh.pdf \ 
    270 $(DIRWWW)/manuals/pdf/many/refdataget.sh.pdf \ 
    271 $(DIRWWW)/manuals/pdf/many/$(PRODUCT)_startup.m.pdf \ 
    272 $(DIRWWW)/manuals/pdf/many/sauvegrads.m.pdf \ 
    273 $(DIRWWW)/manuals/pdf/many/cartemonde.m.pdf \ 
    274 $(DIRWWW)/manuals/pdf/many/cartemonde1.m.pdf \ 
    275 $(DIRWWW)/manuals/pdf/many/palette.m.pdf \ 
    276 $(DIRWWW)/manuals/pdf/many/palettecomplet.m.pdf \ 
    277 $(DIRWWW)/manuals/pdf/many/palette1.m.pdf \ 
    278 $(DIRWWW)/manuals/pdf/many/palette3.m.pdf \ 
    279 $(DIRWWW)/manuals/pdf/many/palettejerome30.m.pdf \ 
    280 $(DIRWWW)/manuals/pdf/many/time_serie_ER_rossby_df.m.pdf \ 
    281 $(DIRWWW)/manuals/pdf/many/time_serie_ER_rossby_df_complet.m.pdf \ 
    282 $(DIRWWW)/manuals/pdf/many/carte_eof_ER_jjas_df.m.pdf \ 
    283 $(DIRWWW)/manuals/pdf/many/olr_eof_jjas2006_rossby_df.m.pdf \ 
    284 $(DIRWWW)/manuals/pdf/many/carte_eof234_jjas_df.m.pdf \ 
    285 $(DIRWWW)/manuals/pdf/many/reconstitution_ER_rossby_df.m.pdf \ 
    286 $(DIRWWW)/manuals/pdf/many/time_serie_histog_phase.m.pdf \ 
    287 $(DIRWWW)/manuals/pdf/many/time_serie_histog_phase_num.m.pdf \ 
    288 $(DIRWWW)/manuals/pdf/many/composite_olr_phase.m.pdf \ 
    289 $(DIRWWW)/manuals/pdf/many/composite_olr_phase_num.m.pdf \ 
    290 $(DIRWWW)/manuals/pdf/many/composite_olr_eof_df.m.pdf \ 
    291 $(DIRWWW)/manuals/pdf/many/time_serie_jjas_df.m.pdf \ 
    292 $(DIRWWW)/manuals/pdf/many/time_serie_eof_df.m.pdf \ 
    293 $(DIRWWW)/manuals/pdf/many/carte_eof_df.m.pdf \ 
    294 $(DIRWWW)/manuals/pdf/many/prepare_olr_filtre_simulation.m.pdf \ 
    295 $(DIRWWW)/manuals/pdf/many/progfiltrage_simulation.F90.pdf \ 
    296 $(DIRWWW)/manuals/pdf/many/forfilter.f.pdf 
     315$(LIST_SRCSH_HTML) \ 
     316$(LIST_SRCMATLAB_HTML) \ 
     317$(LIST_SRCFORTRAN_HTML) 
    297318 
    298319$(DIRWWW)/manuals/html/many/index.html : \ 
    299320$(DIRTMP)/index_many.rst 
    300         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
     321        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \ 
    301322        $< $@ 
    302323 
    303324$(DIRWWW)/manuals/html/one/index.html : \ 
    304325$(DIRTMP)/$(PRODUCT)_manuals.rst 
    305         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
     326        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \ 
    306327        $< $@ 
    307328 
     
    309330$(DIRTMP)/$(PRODUCT)_manuals.tex 
    310331        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $< 
     332        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $< 
    311333 
    312334$(DIRTMP)/$(PRODUCT)_manuals.tex : \ 
    313335$(DIRTMP)/$(PRODUCT)_manuals.rst 
    314         @rst2latex.py $(RST2LATEX_OPTIONS_ONE) --input-encoding=ISO-8859-15 --strict \ 
     336        @$(RST2LATEX) $(RST2LATEX_OPTIONS_ONE) --input-encoding=ISO-8859-15 --strict \ 
    315337        $< $@ 
    316338 
    317339$(DIRTMP)/$(PRODUCT)_manuals.rst : \ 
    318340$(DIRTMP)/index_one.rst \ 
    319 $(DIRTMP)/$(PRODUCT)_profile.sh.rst \ 
    320 $(DIRTMP)/dlogd.sh.rst \ 
    321 $(DIRTMP)/elogd.sh.rst \ 
    322 $(DIRTMP)/plogd.sh.rst \ 
    323 $(DIRTMP)/tlogd.sh.rst \ 
    324 $(DIRTMP)/refdataget.sh.rst \ 
    325 $(DIRTMP)/$(PRODUCT)_startup.m.rst \ 
    326 $(DIRTMP)/sauvegrads.m.rst \ 
    327 $(DIRTMP)/cartemonde.m.rst \ 
    328 $(DIRTMP)/cartemonde1.m.rst \ 
    329 $(DIRTMP)/palette.m.rst \ 
    330 $(DIRTMP)/palettecomplet.m.rst \ 
    331 $(DIRTMP)/palette1.m.rst \ 
    332 $(DIRTMP)/palette3.m.rst \ 
    333 $(DIRTMP)/palettejerome30.m.rst \ 
    334 $(DIRTMP)/time_serie_ER_rossby_df.m.rst \ 
    335 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.rst \ 
    336 $(DIRTMP)/carte_eof_ER_jjas_df.m.rst \ 
    337 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.rst \ 
    338 $(DIRTMP)/carte_eof234_jjas_df.m.rst \ 
    339 $(DIRTMP)/reconstitution_ER_rossby_df.m.rst \ 
    340 $(DIRTMP)/time_serie_histog_phase.m.rst \ 
    341 $(DIRTMP)/time_serie_histog_phase_num.m.rst \ 
    342 $(DIRTMP)/composite_olr_phase.m.rst \ 
    343 $(DIRTMP)/composite_olr_phase_num.m.rst \ 
    344 $(DIRTMP)/composite_olr_eof_df.m.rst \ 
    345 $(DIRTMP)/time_serie_jjas_df.m.rst \ 
    346 $(DIRTMP)/time_serie_eof_df.m.rst \ 
    347 $(DIRTMP)/carte_eof_df.m.rst \ 
    348 $(DIRTMP)/prepare_olr_filtre_simulation.m.rst \ 
    349 $(DIRTMP)/progfiltrage_simulation.F90.rst \ 
    350 $(DIRTMP)/forfilter.f.rst 
     341$(LIST_SRCSH_RST) \ 
     342$(LIST_SRCMATLAB_RST) \ 
     343$(LIST_SRCFORTRAN_RST) 
    351344        @cat $(DIRTMP)/index_one.rst > ${DIRTMP}/$(PRODUCT)_manuals.rst1 
    352345        @echo "Shell scripts" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 
    353346        @echo "=============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 
    354347        @for file in $(LIST_SRCSH); \ 
    355         do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    356          echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    357          echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    358          echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    359          echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
     348        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     349         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     350         echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     351         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     352         echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
    360353         echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \ 
    361354         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
    362         sed -e "s/^==*$$/-----------------/" \ 
     355         sed -e "s/^==*$$/-----------------/" \ 
    363356        -e "s/^--*$$/~~~~~~~~~~~~~~~~~~~~/" \ 
    364357         ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     
    367360        @echo "==============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 
    368361        @for file in $(LIST_SRCMATLAB); \ 
    369         do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    370          echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    371          echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    372          echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    373          echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
     362        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     363         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     364         echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     365         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     366         echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
    374367         echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \ 
    375368         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     
    381374        @echo "===============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 
    382375        @for file in $(LIST_SRCFORTRAN); \ 
    383         do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    384         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    385         echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    386         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
    387         echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\ 
     376        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     377        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     378        echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     379        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     380        echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
    388381        echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \ 
    389382        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \ 
     
    417410        @echo "=============" >> $@ 
    418411        @for file in $(LIST_SRCSH); \ 
    419         do echo " ";\ 
    420         echo ".. _$$(basename $${file}) : $$(basename $${file}).html";\ 
    421         echo " ";\ 
    422         echo "- $$(basename $${file})_";\ 
    423         done  >> $@  
     412        do echo " "; \ 
     413        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \ 
     414        echo " "; \ 
     415        echo "- $$(basename $${file})_"; \ 
     416        done  >> $@ 
    424417        @echo " " >> $@ 
    425418        @echo "MATLAB scripts" >> $@ 
    426419        @echo "==============" >> $@ 
    427         @for file in $(LIST_SRCMATLAB); 
    428         do echo " ";\ 
    429         echo ".. _$$(basename $${file}) : $$(basename $${file}).html";\ 
    430         echo " ";\ 
    431         echo "- $$(basename $${file})_";\ 
     420        @for file in $(LIST_SRCMATLAB); \ 
     421        do echo " "; \ 
     422        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \ 
     423        echo " "; \ 
     424        echo "- $$(basename $${file})_"; \ 
    432425        done >> $@ 
    433426        @echo " " >> $@ 
     
    435428        @echo "===============" >> $@ 
    436429        @for file in $(LIST_SRCFORTRAN); \ 
    437         do echo " ";\ 
    438         echo ".. _$$(basename $${file}) : $$(basename $${file}).html";\ 
    439         echo " ";\ 
    440         echo "- $$(basename $${file})_";\ 
     430        do echo " "; \ 
     431        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \ 
     432        echo " "; \ 
     433        echo "- $$(basename $${file})_"; \ 
    441434        done >> $@ 
    442435        @echo " " >> $@ 
    443436 
    444 $(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html : \ 
    445 $(DIRTMP)/$(PRODUCT)_profile.sh.rst 
    446         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
     437$(DIRWWW)/manuals/html/many/%.html:$(DIRTMP)/%.rst 
     438        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \ 
    447439        $< $@ 
    448440 
    449 $(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf : \ 
    450 $(DIRTMP)/$(PRODUCT)_profile.sh.tex 
    451         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    452  
    453 $(DIRTMP)/$(PRODUCT)_profile.sh.tex : \ 
    454 $(DIRTMP)/$(PRODUCT)_profile.sh.rst 
    455         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    456         $< $@ 
    457  
    458 $(DIRTMP)/$(PRODUCT)_profile.sh.rst : \ 
    459 $(DIRSRC)/$(PRODUCT)_profile.sh 
    460         @extract_rst.sh -i $< -l sh -o $@ 
    461  
    462 $(DIRWWW)/manuals/html/many/dlogd.sh.html : \ 
    463 $(DIRTMP)/dlogd.sh.rst 
    464         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    465         $< $@ 
    466  
    467 $(DIRWWW)/manuals/pdf/many/dlogd.sh.pdf : \ 
    468 $(DIRTMP)/dlogd.sh.tex 
     441$(DIRWWW)/manuals/pdf/many/%.pdf : $(DIRTMP)/%.tex 
    469442        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    470443        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    471444 
    472 $(DIRTMP)/dlogd.sh.tex : \ 
    473 $(DIRTMP)/dlogd.sh.rst 
    474         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
     445$(DIRTMP)/%.tex : $(DIRTMP)/%.rst 
     446        @$(RST2LATEX) $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    475447        $< $@ 
    476448 
    477 $(DIRTMP)/dlogd.sh.rst : \ 
    478 $(DIRSRC)/dlogd.sh 
    479         @extract_rst.sh -i $< -l sh -o $@ 
    480  
    481 $(DIRWWW)/manuals/html/many/elogd.sh.html : \ 
    482 $(DIRTMP)/elogd.sh.rst 
    483         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    484         $< $@ 
    485  
    486 $(DIRWWW)/manuals/pdf/many/elogd.sh.pdf : \ 
    487 $(DIRTMP)/elogd.sh.tex 
    488         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    489         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    490  
    491 $(DIRTMP)/elogd.sh.tex : \ 
    492 $(DIRTMP)/elogd.sh.rst 
    493         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    494         $< $@ 
    495  
    496 $(DIRTMP)/elogd.sh.rst : \ 
    497 $(DIRSRC)/elogd.sh 
    498         @extract_rst.sh -i $< -l sh -o $@ 
    499  
    500 $(DIRWWW)/manuals/html/many/plogd.sh.html : \ 
    501 $(DIRTMP)/plogd.sh.rst 
    502         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    503         $< $@ 
    504  
    505 $(DIRWWW)/manuals/pdf/many/plogd.sh.pdf : \ 
    506 $(DIRTMP)/plogd.sh.tex 
    507         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    508         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    509  
    510 $(DIRTMP)/plogd.sh.tex : \ 
    511 $(DIRTMP)/plogd.sh.rst 
    512         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    513         $< $@ 
    514  
    515 $(DIRTMP)/plogd.sh.rst : \ 
    516 $(DIRSRC)/plogd.sh 
    517         @extract_rst.sh -i $< -l sh -o $@ 
    518  
    519 $(DIRWWW)/manuals/html/many/tlogd.sh.html : \ 
    520 $(DIRTMP)/tlogd.sh.rst 
    521         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    522         $< $@ 
    523  
    524 $(DIRWWW)/manuals/pdf/many/tlogd.sh.pdf : \ 
    525 $(DIRTMP)/tlogd.sh.tex 
    526         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    527         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    528  
    529 $(DIRTMP)/tlogd.sh.tex : \ 
    530 $(DIRTMP)/tlogd.sh.rst 
    531         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    532         $< $@ 
    533  
    534 $(DIRTMP)/tlogd.sh.rst : \ 
    535 $(DIRSRC)/tlogd.sh 
    536         @extract_rst.sh -i $< -l sh -o $@ 
    537  
    538 $(DIRWWW)/manuals/html/many/refdataget.sh.html : \ 
    539 $(DIRTMP)/refdataget.sh.rst 
    540         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    541         $< $@ 
    542  
    543 $(DIRWWW)/manuals/pdf/many/refdataget.sh.pdf : \ 
    544 $(DIRTMP)/refdataget.sh.tex 
    545         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    546         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    547  
    548 $(DIRTMP)/refdataget.sh.tex : \ 
    549 $(DIRTMP)/refdataget.sh.rst 
    550         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    551         $< $@ 
    552  
    553 $(DIRTMP)/refdataget.sh.rst : \ 
    554 $(DIRSRC)/refdataget.sh 
    555         @extract_rst.sh -i $< -l sh -o $@ 
    556  
    557 $(DIRWWW)/manuals/html/many/$(PRODUCT)_startup.m.html : \ 
    558 $(DIRTMP)/$(PRODUCT)_startup.m.rst 
    559         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    560         $< $@ 
    561  
    562 $(DIRWWW)/manuals/pdf/many/$(PRODUCT)_startup.m.pdf : \ 
    563 $(DIRTMP)/$(PRODUCT)_startup.m.tex 
    564         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    565  
    566 $(DIRTMP)/$(PRODUCT)_startup.m.tex : \ 
    567 $(DIRTMP)/$(PRODUCT)_startup.m.rst 
    568         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    569         $< $@ 
    570  
    571 $(DIRTMP)/$(PRODUCT)_startup.m.rst : \ 
    572 $(DIRSRC)/$(PRODUCT)_startup.m 
    573         @extract_rst.sh -i $< -l matlab -o $@ 
    574  
    575 $(DIRWWW)/manuals/html/many/sauvegrads.m.html : \ 
    576 $(DIRTMP)/sauvegrads.m.rst 
    577         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    578         $< $@ 
    579  
    580 $(DIRWWW)/manuals/pdf/many/sauvegrads.m.pdf : \ 
    581 $(DIRTMP)/sauvegrads.m.tex 
    582         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    583  
    584 $(DIRTMP)/sauvegrads.m.tex : \ 
    585 $(DIRTMP)/sauvegrads.m.rst 
    586         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    587         $< $@ 
    588  
    589 $(DIRTMP)/sauvegrads.m.rst : \ 
    590 $(DIRSRC)/sauvegrads.m 
    591         @extract_rst.sh -i $< -l matlab -o $@ 
    592  
    593 $(DIRWWW)/manuals/html/many/cartemonde.m.html : \ 
    594 $(DIRTMP)/cartemonde.m.rst 
    595         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    596         $< $@ 
    597  
    598 $(DIRWWW)/manuals/pdf/many/cartemonde.m.pdf : \ 
    599 $(DIRTMP)/cartemonde.m.tex 
    600         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    601  
    602 $(DIRTMP)/cartemonde.m.tex : \ 
    603 $(DIRTMP)/cartemonde.m.rst 
    604         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    605         $< $@ 
    606  
    607 $(DIRTMP)/cartemonde.m.rst : \ 
    608 $(DIRSRC)/cartemonde.m 
    609         @extract_rst.sh -i $< -l matlab -o $@ 
    610  
    611 $(DIRWWW)/manuals/html/many/cartemonde1.m.html : \ 
    612 $(DIRTMP)/cartemonde1.m.rst 
    613         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    614         $< $@ 
    615  
    616 $(DIRWWW)/manuals/pdf/many/cartemonde1.m.pdf : \ 
    617 $(DIRTMP)/cartemonde1.m.tex 
    618         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    619  
    620 $(DIRTMP)/cartemonde1.m.tex : \ 
    621 $(DIRTMP)/cartemonde1.m.rst 
    622         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    623         $< $@ 
    624  
    625 $(DIRTMP)/cartemonde1.m.rst : \ 
    626 $(DIRSRC)/cartemonde1.m 
    627         @extract_rst.sh -i $< -l matlab -o $@ 
    628 $(DIRWWW)/manuals/html/many/palette.m.html : \ 
    629 $(DIRTMP)/palette.m.rst 
    630         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    631         $< $@ 
    632  
    633 $(DIRWWW)/manuals/pdf/many/palette.m.pdf : \ 
    634 $(DIRTMP)/palette.m.tex 
    635         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    636  
    637 $(DIRTMP)/palette.m.tex : \ 
    638 $(DIRTMP)/palette.m.rst 
    639         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    640         $< $@ 
    641  
    642 $(DIRTMP)/palette.m.rst : \ 
    643 $(DIRSRC)/palette.m 
    644         @extract_rst.sh -i $< -l matlab -o $@ 
    645  
    646 $(DIRWWW)/manuals/html/many/palettecomplet.m.html : \ 
    647 $(DIRTMP)/palettecomplet.m.rst 
    648         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    649         $< $@ 
    650  
    651 $(DIRWWW)/manuals/pdf/many/palettecomplet.m.pdf : \ 
    652 $(DIRTMP)/palettecomplet.m.tex 
    653         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    654  
    655 $(DIRTMP)/palettecomplet.m.tex : \ 
    656 $(DIRTMP)/palettecomplet.m.rst 
    657         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    658         $< $@ 
    659  
    660 $(DIRTMP)/palettecomplet.m.rst : \ 
    661 $(DIRSRC)/palettecomplet.m 
    662         @extract_rst.sh -i $< -l matlab -o $@ 
    663  
    664 $(DIRWWW)/manuals/html/many/palette1.m.html : \ 
    665 $(DIRTMP)/palette1.m.rst 
    666         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    667         $< $@ 
    668  
    669 $(DIRWWW)/manuals/pdf/many/palette1.m.pdf : \ 
    670 $(DIRTMP)/palette1.m.tex 
    671         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    672  
    673 $(DIRTMP)/palette1.m.tex : \ 
    674 $(DIRTMP)/palette1.m.rst 
    675         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    676         $< $@ 
    677  
    678 $(DIRTMP)/palette1.m.rst : \ 
    679 $(DIRSRC)/palette1.m 
    680         @extract_rst.sh -i $< -l matlab -o $@ 
    681  
    682 $(DIRWWW)/manuals/html/many/palette3.m.html : \ 
    683 $(DIRTMP)/palette3.m.rst 
    684         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    685         $< $@ 
    686  
    687 $(DIRWWW)/manuals/pdf/many/palette3.m.pdf : \ 
    688 $(DIRTMP)/palette3.m.tex 
    689         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    690  
    691 $(DIRTMP)/palette3.m.tex : \ 
    692 $(DIRTMP)/palette3.m.rst 
    693         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    694         $< $@ 
    695  
    696 $(DIRTMP)/palette3.m.rst : \ 
    697 $(DIRSRC)/palette3.m 
    698         @extract_rst.sh -i $< -l matlab -o $@ 
    699  
    700 $(DIRWWW)/manuals/html/many/palettejerome30.m.html : \ 
    701 $(DIRTMP)/palettejerome30.m.rst 
    702         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    703         $< $@ 
    704  
    705 $(DIRWWW)/manuals/pdf/many/palettejerome30.m.pdf : \ 
    706 $(DIRTMP)/palettejerome30.m.tex 
    707         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    708  
    709 $(DIRTMP)/palettejerome30.m.tex : \ 
    710 $(DIRTMP)/palettejerome30.m.rst 
    711         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    712         $< $@ 
    713  
    714 $(DIRTMP)/palettejerome30.m.rst : \ 
    715 $(DIRSRC)/palettejerome30.m 
    716         @extract_rst.sh -i $< -l matlab -o $@ 
    717  
    718 $(DIRWWW)/manuals/html/many/time_serie_ER_rossby_df.m.html : \ 
    719 $(DIRTMP)/time_serie_ER_rossby_df.m.rst 
    720         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    721         $< $@ 
    722  
    723 $(DIRWWW)/manuals/pdf/many/time_serie_ER_rossby_df.m.pdf : \ 
    724 $(DIRTMP)/time_serie_ER_rossby_df.m.tex 
    725         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    726  
    727 $(DIRTMP)/time_serie_ER_rossby_df.m.tex : \ 
    728 $(DIRTMP)/time_serie_ER_rossby_df.m.rst 
    729         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    730         $< $@ 
    731  
    732 $(DIRTMP)/time_serie_ER_rossby_df.m.rst : \ 
    733 $(DIRSRC)/mode_sahelien/time_serie_ER_rossby_df.m 
    734         @extract_rst.sh -i $< -l matlab -o $@ 
    735  
    736 $(DIRWWW)/manuals/html/many/time_serie_ER_rossby_df_complet.m.html : \ 
    737 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.rst 
    738         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    739         $< $@ 
    740  
    741 $(DIRWWW)/manuals/pdf/many/time_serie_ER_rossby_df_complet.m.pdf : \ 
    742 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.tex 
    743         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    744  
    745 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.tex : \ 
    746 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.rst 
    747         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    748         $< $@ 
    749  
    750 $(DIRTMP)/time_serie_ER_rossby_df_complet.m.rst : \ 
    751 $(DIRSRC)/mode_sahelien/time_serie_ER_rossby_df_complet.m 
    752         @extract_rst.sh -i $< -l matlab -o $@ 
    753  
    754 $(DIRWWW)/manuals/html/many/carte_eof_ER_jjas_df.m.html : \ 
    755 $(DIRTMP)/carte_eof_ER_jjas_df.m.rst 
    756         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    757         $< $@ 
    758  
    759 $(DIRWWW)/manuals/pdf/many/carte_eof_ER_jjas_df.m.pdf : \ 
    760 $(DIRTMP)/carte_eof_ER_jjas_df.m.tex 
    761         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    762  
    763 $(DIRTMP)/carte_eof_ER_jjas_df.m.tex : \ 
    764 $(DIRTMP)/carte_eof_ER_jjas_df.m.rst 
    765         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    766         $< $@ 
    767  
    768 $(DIRTMP)/carte_eof_ER_jjas_df.m.rst : \ 
    769 $(DIRSRC)/mode_sahelien/carte_eof_ER_jjas_df.m 
    770         @extract_rst.sh -i $< -l matlab -o $@ 
    771  
    772 $(DIRWWW)/manuals/html/many/olr_eof_jjas2006_rossby_df.m.html : \ 
    773 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.rst 
    774         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    775         $< $@ 
    776  
    777 $(DIRWWW)/manuals/pdf/many/olr_eof_jjas2006_rossby_df.m.pdf : \ 
    778 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.tex 
    779         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    780  
    781 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.tex : \ 
    782 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.rst 
    783         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    784         $< $@ 
    785  
    786 $(DIRTMP)/olr_eof_jjas2006_rossby_df.m.rst : \ 
    787 $(DIRSRC)/mode_sahelien/olr_eof_jjas2006_rossby_df.m 
    788         @extract_rst.sh -i $< -l matlab -o $@ 
    789  
    790 $(DIRWWW)/manuals/html/many/carte_eof234_jjas_df.m.html : \ 
    791 $(DIRTMP)/carte_eof234_jjas_df.m.rst 
    792         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    793         $< $@ 
    794  
    795 $(DIRWWW)/manuals/pdf/many/carte_eof234_jjas_df.m.pdf : \ 
    796 $(DIRTMP)/carte_eof234_jjas_df.m.tex 
    797         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    798  
    799 $(DIRTMP)/carte_eof234_jjas_df.m.tex : \ 
    800 $(DIRTMP)/carte_eof234_jjas_df.m.rst 
    801         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    802         $< $@ 
    803  
    804 $(DIRTMP)/carte_eof234_jjas_df.m.rst : \ 
    805 $(DIRSRC)/mode_sahelien/carte_eof234_jjas_df.m 
    806         @extract_rst.sh -i $< -l matlab -o $@ 
    807  
    808 $(DIRWWW)/manuals/html/many/reconstitution_ER_rossby_df.m.html : \ 
    809 $(DIRTMP)/reconstitution_ER_rossby_df.m.rst 
    810         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    811         $< $@ 
    812  
    813 $(DIRWWW)/manuals/pdf/many/reconstitution_ER_rossby_df.m.pdf : \ 
    814 $(DIRTMP)/reconstitution_ER_rossby_df.m.tex 
    815         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    816  
    817 $(DIRTMP)/reconstitution_ER_rossby_df.m.tex : \ 
    818 $(DIRTMP)/reconstitution_ER_rossby_df.m.rst 
    819         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    820         $< $@ 
    821  
    822 $(DIRTMP)/reconstitution_ER_rossby_df.m.rst : \ 
    823 $(DIRSRC)/mode_sahelien/reconstitution_ER_rossby_df.m 
    824         @extract_rst.sh -i $< -l matlab -o $@ 
    825  
    826 $(DIRWWW)/manuals/html/many/time_serie_histog_phase.m.html : \ 
    827 $(DIRTMP)/time_serie_histog_phase.m.rst 
    828         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    829         $< $@ 
    830  
    831 $(DIRWWW)/manuals/pdf/many/time_serie_histog_phase.m.pdf : \ 
    832 $(DIRTMP)/time_serie_histog_phase.m.tex 
    833         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    834  
    835 $(DIRTMP)/time_serie_histog_phase.m.tex : \ 
    836 $(DIRTMP)/time_serie_histog_phase.m.rst 
    837         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    838         $< $@ 
    839  
    840 $(DIRTMP)/time_serie_histog_phase.m.rst : \ 
    841 $(DIRSRC)/mode_sahelien/time_serie_histog_phase.m 
    842         @extract_rst.sh -i $< -l matlab -o $@ 
    843  
    844 $(DIRWWW)/manuals/html/many/time_serie_histog_phase_num.m.html : \ 
    845 $(DIRTMP)/time_serie_histog_phase_num.m.rst 
    846         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    847         $< $@ 
    848  
    849 $(DIRWWW)/manuals/pdf/many/time_serie_histog_phase_num.m.pdf : \ 
    850 $(DIRTMP)/time_serie_histog_phase_num.m.tex 
    851         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    852  
    853 $(DIRTMP)/time_serie_histog_phase_num.m.tex : \ 
    854 $(DIRTMP)/time_serie_histog_phase_num.m.rst 
    855         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    856         $< $@ 
    857  
    858 $(DIRTMP)/time_serie_histog_phase_num.m.rst : \ 
    859 $(DIRSRC)/mode_sahelien/time_serie_histog_phase_num.m 
    860         @extract_rst.sh -i $< -l matlab -o $@ 
    861  
    862 $(DIRWWW)/manuals/html/many/composite_olr_phase.m.html : \ 
    863 $(DIRTMP)/composite_olr_phase.m.rst 
    864         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    865         $< $@ 
    866  
    867 $(DIRWWW)/manuals/pdf/many/composite_olr_phase.m.pdf : \ 
    868 $(DIRTMP)/composite_olr_phase.m.tex 
    869         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    870  
    871 $(DIRTMP)/composite_olr_phase.m.tex : \ 
    872 $(DIRTMP)/composite_olr_phase.m.rst 
    873         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    874         $< $@ 
    875  
    876 $(DIRTMP)/composite_olr_phase.m.rst : \ 
    877 $(DIRSRC)/mode_sahelien/composite_olr_phase.m 
    878         @extract_rst.sh -i $< -l matlab -o $@ 
    879  
    880 $(DIRWWW)/manuals/html/many/composite_olr_phase_num.m.html : \ 
    881 $(DIRTMP)/composite_olr_phase_num.m.rst 
    882         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    883         $< $@ 
    884  
    885 $(DIRWWW)/manuals/pdf/many/composite_olr_phase_num.m.pdf : \ 
    886 $(DIRTMP)/composite_olr_phase_num.m.tex 
    887         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    888  
    889 $(DIRTMP)/composite_olr_phase_num.m.tex : \ 
    890 $(DIRTMP)/composite_olr_phase_num.m.rst 
    891         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    892         $< $@ 
    893  
    894 $(DIRTMP)/composite_olr_phase_num.m.rst : \ 
    895 $(DIRSRC)/mode_sahelien/composite_olr_phase_num.m 
    896         @extract_rst.sh -i $< -l matlab -o $@ 
    897  
    898 $(DIRWWW)/manuals/html/many/composite_olr_eof_df.m.html : \ 
    899 $(DIRTMP)/composite_olr_eof_df.m.rst 
    900         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    901         $< $@ 
    902  
    903 $(DIRWWW)/manuals/pdf/many/composite_olr_eof_df.m.pdf : \ 
    904 $(DIRTMP)/composite_olr_eof_df.m.tex 
    905         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    906  
    907 $(DIRTMP)/composite_olr_eof_df.m.tex : \ 
    908 $(DIRTMP)/composite_olr_eof_df.m.rst 
    909         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    910         $< $@ 
    911  
    912 $(DIRTMP)/composite_olr_eof_df.m.rst : \ 
    913 $(DIRSRC)/mode_sahelien/composite_olr_eof_df.m 
    914         @extract_rst.sh -i $< -l matlab -o $@ 
    915  
    916 $(DIRWWW)/manuals/html/many/time_serie_jjas_df.m.html : \ 
    917 $(DIRTMP)/time_serie_jjas_df.m.rst 
    918         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    919         $< $@ 
    920  
    921 $(DIRWWW)/manuals/pdf/many/time_serie_jjas_df.m.pdf : \ 
    922 $(DIRTMP)/time_serie_jjas_df.m.tex 
    923         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    924  
    925 $(DIRTMP)/time_serie_jjas_df.m.tex : \ 
    926 $(DIRTMP)/time_serie_jjas_df.m.rst 
    927         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    928         $< $@ 
    929  
    930 $(DIRTMP)/time_serie_jjas_df.m.rst : \ 
    931 $(DIRSRC)/mode_sahelien/time_serie_jjas_df.m 
    932         @extract_rst.sh -i $< -l matlab -o $@ 
    933  
    934 $(DIRWWW)/manuals/html/many/time_serie_eof_df.m.html : \ 
    935 $(DIRTMP)/time_serie_eof_df.m.rst 
    936         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    937         $< $@ 
    938  
    939 $(DIRWWW)/manuals/pdf/many/time_serie_eof_df.m.pdf : \ 
    940 $(DIRTMP)/time_serie_eof_df.m.tex 
    941         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    942  
    943 $(DIRTMP)/time_serie_eof_df.m.tex : \ 
    944 $(DIRTMP)/time_serie_eof_df.m.rst 
    945         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    946         $< $@ 
    947  
    948 $(DIRTMP)/time_serie_eof_df.m.rst : \ 
    949 $(DIRSRC)/SIMULS_IRCAAM/time_serie_eof_df.m 
    950         @extract_rst.sh -i $< -l matlab -o $@ 
    951  
    952 $(DIRWWW)/manuals/html/many/carte_eof_df.m.html : \ 
    953 $(DIRTMP)/carte_eof_df.m.rst 
    954         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    955         $< $@ 
    956  
    957 $(DIRWWW)/manuals/pdf/many/carte_eof_df.m.pdf : \ 
    958 $(DIRTMP)/carte_eof_df.m.tex 
    959         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    960  
    961 $(DIRTMP)/carte_eof_df.m.tex : \ 
    962 $(DIRTMP)/carte_eof_df.m.rst 
    963         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    964         $< $@ 
    965  
    966 $(DIRTMP)/carte_eof_df.m.rst : \ 
    967 $(DIRSRC)/SIMULS_IRCAAM/carte_eof_df.m 
    968         @extract_rst.sh -i $< -l matlab -o $@ 
    969  
    970 $(DIRWWW)/manuals/html/many/prepare_olr_filtre_simulation.m.html : \ 
    971 $(DIRTMP)/prepare_olr_filtre_simulation.m.rst 
    972         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    973         $< $@ 
    974  
    975 $(DIRWWW)/manuals/pdf/many/prepare_olr_filtre_simulation.m.pdf : \ 
    976 $(DIRTMP)/prepare_olr_filtre_simulation.m.tex 
    977         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    978  
    979 $(DIRTMP)/prepare_olr_filtre_simulation.m.tex : \ 
    980 $(DIRTMP)/prepare_olr_filtre_simulation.m.rst 
    981         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    982         $< $@ 
    983  
    984 $(DIRTMP)/prepare_olr_filtre_simulation.m.rst : \ 
    985 $(DIRSRC)/SIMULS_IRCAAM/prepare_olr_filtre_simulation.m 
    986         @extract_rst.sh -i $< -l matlab -o $@ 
    987  
    988 $(DIRWWW)/manuals/html/many/progfiltrage_simulation.F90.html : \ 
    989 $(DIRTMP)/progfiltrage_simulation.F90.rst 
    990         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    991         $< $@ 
    992  
    993 $(DIRWWW)/manuals/pdf/many/progfiltrage_simulation.F90.pdf : \ 
    994 $(DIRTMP)/progfiltrage_simulation.F90.tex 
    995         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    996  
    997 $(DIRTMP)/progfiltrage_simulation.F90.tex : \ 
    998 $(DIRTMP)/progfiltrage_simulation.F90.rst 
    999         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    1000         $< $@ 
    1001  
    1002 $(DIRTMP)/progfiltrage_simulation.F90.rst : \ 
    1003 $(DIRSRC)/SIMULS_IRCAAM/progfiltrage_simulation.F90 
    1004         @extract_rst.sh -i $< -l fortran -o $@ 
    1005  
    1006 $(DIRWWW)/manuals/html/many/forfilter.f.html : \ 
    1007 $(DIRTMP)/forfilter.f.rst 
    1008         @rst2html.py --input-encoding=ISO-8859-15 --strict \ 
    1009         $< $@ 
    1010  
    1011 $(DIRWWW)/manuals/pdf/many/forfilter.f.pdf : \ 
    1012 $(DIRTMP)/forfilter.f.tex 
    1013         @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $< 
    1014  
    1015 $(DIRTMP)/forfilter.f.tex : \ 
    1016 $(DIRTMP)/forfilter.f.rst 
    1017         @rst2latex.py $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \ 
    1018         $< $@ 
    1019  
    1020 $(DIRTMP)/forfilter.f.rst : \ 
    1021 $(DIRSRC)/forfilter.f 
    1022         @extract_rst.sh -i $< -l fortran -o $@ 
     449$(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh 
     450        @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@ 
     451 
     452$(DIRTMP)/%.m.rst : $(DIRSRC)/%.m 
     453        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@ 
     454 
     455$(DIRTMP)/%.m.rst : $(DIRSRC)/mode_sahelien/%.m 
     456        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@ 
     457 
     458$(DIRTMP)/%.m.rst : $(DIRSRC)/SIMULS_IRCAAM/%.m 
     459        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@ 
     460 
     461$(DIRTMP)/%.F90.rst : $(DIRSRC)/SIMULS_IRCAAM/%.F90 
     462        @$(DIRADM)/extract_rst.sh -i $< -l fortran -o $@ 
     463 
     464$(DIRTMP)/%.f.rst : $(DIRSRC)/%.f 
     465        @$(DIRADM)/extract_rst.sh -i $< -l fortran -o $@ 
Note: See TracChangeset for help on using the changeset viewer.