Changeset 2143 for branches/DEV_r1879_FCM/adm/DOC_SCRIPTS
- Timestamp:
- 2010-10-04T14:49:55+02:00 (14 years ago)
- Location:
- branches/DEV_r1879_FCM/adm
- Files:
-
- 1 added
- 15 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1879_FCM/adm/DOC_SCRIPTS/extract_rst.sh
r1972 r2143 1 1 #! /bin/sh 2 set -x 2 3 #+ 3 4 # -
branches/DEV_r1879_FCM/adm/DOC_SCRIPTS/makefile
r1972 r2143 87 87 88 88 DIRSRC = \ 89 ../ 89 ../../NEMOGCM/TOOLS/COMPILE 90 90 91 91 DIRADM = \ … … 99 99 100 100 DIRWWW = \ 101 . ./doc/101 ./doc/ 102 102 103 103 URLPUBLISH = \ 104 104 http://192.168.0.12/~rblod/$(PRODUCT) 105 105 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") 106 LIST_SRCSH = $(wildcard $(DIRSRC)/*.sh) \ 107 $(DIRSRC)/../../CONFIG/makenemo \ 108 $(DIRSRC)/../maketools 109 110 LIST_SRCSH_RST = $(addprefix $(DIRTMP)/, $(notdir $(addsuffix .rst,$(LIST_SRCSH)))) 111 112 LIST_SRCSH_R2W = $(addprefix $(DIRTMP)/rest2web_tmpdir/, $(notdir $(addsuffix .txt,$(LIST_SRCSH)))) 113 114 LIST_SRCSH_TROFF = $(addprefix $(DIRWWW)/manuals/man/man1/, $(notdir $(addsuffix .1,$(LIST_SRCSH)))) 115 116 LIST_SRCSH_HTML = $(adprefix $(DIRWWW)/manuals/html/many/, $(notdir $(addsuffix .html,$(LIST_SRCSH)))) 117 118 LIST_SRCSH_PDF = $(addprefix $(DIRSRC)+$(DIRWWW)/manuals/pdf/many/,$(notdir $(addsuffix .pdf,$(LIST_SRCSH)))) 142 119 143 120 RST2MAN = \ … … 240 217 241 218 all : \ 219 SPECIAL_RST \ 242 220 man_troff \ 243 221 man_html \ … … 336 314 $< $@ 337 315 338 $(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh 316 $(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh 339 317 @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@ 318 319 SPECIAL_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 340 326 341 327 $(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg
Note: See TracChangeset
for help on using the changeset viewer.