Changeset 78 for trunk/adm


Ignore:
Timestamp:
04/19/10 11:17:03 (14 years ago)
Author:
pinsard
Message:

add sources (fortran and matlab) browser in documents)

Location:
trunk/adm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/adm/extract_rst.sh

    r77 r78  
    33# 
    44# ========== 
    5 # extract.sh  
     5# extract.sh 
    66# ========== 
    77# 
     
    2626# Comment block (start, end) identification depends on language : 
    2727# 
    28 #  *F90*  
     28#  *F90* 
    2929#   FORTRAN source free form 
    3030#  *fortran* 
     
    4848# To extract ReST comments of this shell script: 
    4949# :: 
    50 #  
     50# 
    5151#   $ extract_rst.sh -i extract_rst.sh -l sh -o extract_rst.sh.rst 
    5252#   iii : rst lines of extract_rst.sh are in extract_rst.sh.rst 
     
    7373# 
    7474# Becaue of poor implementation of Standard FORTRAN in cpp (prepocessing) 
    75 # within gfortran and g95, ReST comments might induce trouble in  
     75# within gfortran and g95, ReST comments might induce trouble in 
    7676# FORTRAN sources. 
    7777# 
     
    8080# This is because ``/*`` is the beginning of a C style comment !! 
    8181# :: 
    82 #     
     82# 
    8383#      !    **MEAN** = sum( *X*\ (:) )/*ntime* 
    8484# 
     
    8989# 
    9090#      !    **MEAN** = sum( *X*\ (:) ) / *ntime* 
    91 #  
     91# 
    9292# 
    9393# 
     
    109109# 
    110110# Docutils_ 
    111 #  
     111# 
    112112# .. _Docutils: http://docutils.sourceforge.net/ 
    113113# 
     
    117117# 
    118118# /usr/home/fplod/incas/varamma/varamma_ws/adm/extract_rst.sh sur aedon.locean-ipsl.upmc.fr 
    119 #  
     119# 
    120120# EVOLUTIONS 
    121121# ========== 
     
    124124# 
    125125# - fplod 2009-04-20T08:13:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
    126 #    
     126# 
    127127#   * add CAUTIONS paragraph to warn about possible FORTRAN compiling problem 
    128128# 
     
    132132#   * usage of tr instead of sed to remove ``\r`` 
    133133#     due to difference between ``/sw/bin/sed`` and ``/usr/bin/sed`` (the last 
    134 #     one do not work coorectly on ``\r`` interpertation ie: remove the first occurence of  
     134#     one do not work coorectly on ``\r`` interpertation ie: remove the first occurence of 
    135135#     ``r``) 
    136136# 
     
    141141# - fplod 2009-01-05T11:41:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
    142142# 
    143 #   * remove \\r (CRLF) from file before awk and sed (otherwise ReST block  
     143#   * remove \\r (CRLF) from file before awk and sed (otherwise ReST block 
    144144#     was not found in "ISO-8859 text, with CRLF line terminators" files 
    145145# 
     
    162162# 
    163163# - fplod 200807 
    164 #  
     164# 
    165165#   * creation 
    166166# 
     
    210210         shift 
    211211      ;; 
    212       -h)  
     212      -h) 
    213213         echo "${usage}" 
    214          exit 1 
     214         exit 0 
    215215      ;; 
    216216      *) 
     
    220220      ;; 
    221221   esac 
    222    shift # next flag 
     222   # next flag 
     223   shift 
    223224done 
    224225# 
  • trunk/adm/install.sh

    r77 r78  
    9595      ;; 
    9696   esac 
    97    shift # next flag 
     97   # next flag 
     98   shift 
    9899done 
    99100# 
  • trunk/adm/linkchecker.sh

    r77 r78  
    117117      ;; 
    118118   esac 
    119    shift # next flag 
     119   # next flag 
     120   shift 
    120121done 
    121122# 
  • trunk/adm/makefile

    r76 r78  
    251251man_pdf \ 
    252252man_pdf_many \ 
    253 man_pdf_sphinx 
     253man_pdf_sphinx \ 
     254html_src_browser \ 
     255html_src_browser_doxygen 
    254256 
    255257help : 
     
    277279        @mkdir -p $(DIRWWW)/manuals/pdf/sphinx/ 
    278280        @mkdir -p $(DIRTMP)/sphinx_tmpdir/doctrees/ 
     281        @mkdir -p $(DIRWWW)/src_browser/ 
    279282 
    280283install_all : \ 
     
    320323 
    321324all : \ 
     325man \ 
     326browse 
     327 
     328man : \ 
    322329man_troff \ 
    323330man_html \ 
    324 man_pdf 
     331man_pdf \ 
     332 
     333browse : \ 
     334html_src_browser_doxygen 
    325335 
    326336man_troff : \ 
     
    462472        @echo " " >> $@ 
    463473 
     474html_src_browser_doxygen : \ 
     475        $(DIRWWW)/src_browser/doxygen/ 
     476 
     477$(DIRWWW)/src_browser/doxygen/ : \ 
     478$(DIRADM)/Doxyfile_ircaam \ 
     479$(LIST_SRCMATLAB) \ 
     480$(LIST_SRCFORTRAN)  
     481        @doxygen $< 
     482        @touch $@ 
     483 
    464484$(DIRWWW)/manuals/man/man1/%.1:$(DIRTMP)/%.rst 
    465485        @$(RST2MAN) --input-encoding=ISO-8859-15 --strict \ 
Note: See TracChangeset for help on using the changeset viewer.