New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2143 for branches/DEV_r1879_FCM/adm/DOC_SCRIPTS/makefile – NEMO

Ignore:
Timestamp:
2010-10-04T14:49:55+02:00 (14 years ago)
Author:
rblod
Message:

Improvement of FCM branch

Location:
branches/DEV_r1879_FCM/adm
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/adm/DOC_SCRIPTS/makefile

    r1972 r2143  
    8787 
    8888DIRSRC = \ 
    89 ../ 
     89../../NEMOGCM/TOOLS/COMPILE 
    9090 
    9191DIRADM = \ 
     
    9999 
    100100DIRWWW = \ 
    101 ../doc/ 
     101./doc/ 
    102102 
    103103URLPUBLISH = \ 
    104104http://192.168.0.12/~rblod/$(PRODUCT) 
    105105 
    106 LIST_SRCSH = $(wildcard $(DIRSRC)/*.sh) 
    107 #$(DIRSRC)/Fcheck_archfile.sh \ 
    108 #$(DIRSRC)/Fcheck_config.sh \ 
    109 #$(DIRSRC)/Fclean_var.sh \ 
    110 #$(DIRSRC)/Fgo_to_TOOLS.sh \ 
    111 #$(DIRSRC)/Fmake_config.sh \ 
    112 #$(DIRSRC)/Fcopy_dir.sh  \ 
    113 #$(DIRSRC)/Fmake_WORK.sh  \ 
    114 #$(DIRSRC)/Fread_dir.sh \ 
    115 #$(DIRSRC)/makenemo_fcm.sh 
    116  
    117 LIST_SRCSH_RST = \ 
    118 $(shell echo "$(LIST_SRCSH)" | \ 
    119    sed -e "s+$(DIRSRC)+$(DIRTMP)/+g" \ 
    120        -e "s+\.sh+.sh.rst+g") 
    121  
    122 LIST_SRCSH_R2W = \ 
    123 $(shell echo "$(LIST_SRCSH)" | \ 
    124    sed -e "s+$(DIRSRC)+$(DIRTMP)/rest2web_tmpdir+g" \ 
    125        -e "s+\.s+.s.txt+g") 
    126  
    127  
    128 LIST_SRCSH_TROFF = \ 
    129 $(shell echo "$(LIST_SRCSH)" | \ 
    130    sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/man/man1/+g" \ 
    131        -e "s+\.sh+.sh.1+g") 
    132  
    133 LIST_SRCSH_HTML = \ 
    134 $(shell echo "$(LIST_SRCSH)" | \ 
    135    sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \ 
    136        -e "s+\.sh+.sh.html+g") 
    137  
    138 LIST_SRCSH_PDF = \ 
    139 $(shell echo "$(LIST_SRCSH)" | \ 
    140    sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" \ 
    141        -e "s+\.sh+.sh.pdf+g") 
     106LIST_SRCSH = $(wildcard $(DIRSRC)/*.sh) \ 
     107$(DIRSRC)/../../CONFIG/makenemo \ 
     108$(DIRSRC)/../maketools 
     109 
     110LIST_SRCSH_RST = $(addprefix $(DIRTMP)/, $(notdir $(addsuffix .rst,$(LIST_SRCSH)))) 
     111 
     112LIST_SRCSH_R2W = $(addprefix $(DIRTMP)/rest2web_tmpdir/, $(notdir $(addsuffix .txt,$(LIST_SRCSH)))) 
     113 
     114LIST_SRCSH_TROFF = $(addprefix $(DIRWWW)/manuals/man/man1/, $(notdir $(addsuffix .1,$(LIST_SRCSH)))) 
     115 
     116LIST_SRCSH_HTML = $(adprefix $(DIRWWW)/manuals/html/many/, $(notdir $(addsuffix .html,$(LIST_SRCSH)))) 
     117 
     118LIST_SRCSH_PDF = $(addprefix $(DIRSRC)+$(DIRWWW)/manuals/pdf/many/,$(notdir $(addsuffix .pdf,$(LIST_SRCSH)))) 
    142119 
    143120RST2MAN = \ 
     
    240217 
    241218all : \ 
     219SPECIAL_RST \ 
    242220man_troff \ 
    243221man_html \ 
     
    336314   $< $@ 
    337315 
    338 $(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh 
     316$(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh  
    339317   @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@ 
     318 
     319SPECIAL_RST : $(DIRTMP)/makenemo.rst $(DIRTMP)/maketools.rst 
     320 
     321$(DIRTMP)/makenemo.rst : $(DIRSRC)/../../CONFIG/makenemo 
     322   @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@ 
     323$(DIRTMP)/maketools.rst : $(DIRSRC)/../maketools 
     324   @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@ 
     325 
    340326 
    341327$(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg 
Note: See TracChangeset for help on using the changeset viewer.