source: trunk/adm/makefile @ 3

Last change on this file since 3 was 3, checked in by pinsard, 15 years ago

add doc (sources, tools and products)

  • Property svn:executable set to *
  • Property svn:keyword set to Id
File size: 19.4 KB
Line 
1#+
2#
3# module
4# ======
5#
6# génération des doc varamma
7#
8# FILES
9# =====
10#
11# /usr/home/fplod/incas/varamma/varamma_ws/adm/makefile sur aedon.locean-ipsl.upmc.fr
12#
13# TODO
14# ====
15#
16# ++ amélioration de la page index
17#
18# EVOLUTIONS
19# ==========
20#
21# - fplod 2008-12-19T09:27:55Z aedon.locean-ipsl.upmc.fr (Darwin)
22#
23#   * remove idldoc stuff (not enought mature and connected to SAXO)
24#
25# - fplod 2008-10-13T09:10:41Z aedon.locean-ipsl.upmc.fr (Darwin)
26#
27#   * new tree for doc
28#
29# - fplod 2008-08-14T12:15:30Z aedon.locean-ipsl.upmc.fr (Darwin)
30#
31#   * move *.sh and *.pro to varamma_ws/src/
32#
33# - fplod 2008-08-12T08:02:13Z aedon.locean-ipsl.upmc.fr (Darwin)
34#
35#   * add idl files
36#   * add doidldoc.sh usage
37#
38# - fplod 2008-08-08T09:37:37Z aedon.locean-ipsl.upmc.fr (Darwin)
39#
40#   * creation
41#
42# SEE ALSO
43# ========
44#
45# extract_rst.sh_
46#
47# .. _extract_rst.sh: ../extract_rst.sh.html
48#
49#-
50#
51PRODUCT = \
52varamma
53
54PRODUCTNAME = \
55$$(echo $(PRODUCT) | tr [:lower:] [:upper:])
56
57SUBPRODUCT = \
58varamma_ws
59
60DIRSRC = \
61../src/
62
63DIRTMP = \
64./
65
66DIRWWW = \
67../doc/
68
69URLPUBLISH = \
70http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)/$(SUBPRODUCT)/
71
72LIST_SRCSH = \
73$(DIRSRC)/$(PRODUCT)_profile.sh \
74$(DIRSRC)/dlogd.sh \
75$(DIRSRC)/elogd.sh \
76$(DIRSRC)/plogd.sh \
77$(DIRSRC)/tlogd.sh \
78$(DIRSRC)/cat_clim_ecmwf.sh \
79$(DIRSRC)/cat_clim_olr.sh \
80$(DIRSRC)/is_leap_year.sh \
81$(DIRSRC)/olr_split.sh \
82$(DIRSRC)/paper01_pre.sh
83
84LIST_SRCIDL = \
85$(DIRSRC)/forout.pro \
86$(DIRSRC)/hovmuller.pro \
87$(DIRSRC)/paper01.pro \
88$(DIRSRC)/timeserie.pro \
89$(DIRSRC)/figure08.pro \
90$(DIRSRC)/figure09.pro \
91$(DIRSRC)/figure11.pro \
92$(DIRSRC)/figure12.pro \
93$(DIRSRC)/figure13.pro \
94$(DIRSRC)/figure14.pro
95
96.PHONY : \
97help \
98before \
99clean \
100htmllinkcheckb \
101htmllinkchecka \
102spellcheck \
103all \
104html \
105pdf
106
107help :
108        @echo "Prepare output directories :"
109        @echo "\$$ make before"
110        @echo ""
111        @echo "Following commands are available to build outputs :"
112        @echo "\$$ make all"
113        @echo " "
114        @echo "Check links before installation : "
115        @echo "\$$ make htmllinkcheckb"
116        @echo " "
117        @echo "Last step = installation"
118        @echo "\$$ make install"
119        @echo " "
120        @echo "Check links after installation : "
121        @echo "\$$ make htmllinkchecka"
122        @echo " "
123
124before :
125        @mkdir -p $(DIRWWW)/manuals/html/one/
126        @mkdir -p $(DIRWWW)/manuals/html/many/
127        @mkdir -p $(DIRWWW)/manuals/pdf/one/
128        @mkdir -p $(DIRWWW)/manuals/pdf/many/
129
130install :
131        @install.sh -w $(DIRWWW) -u $(URLPUBLISH)
132
133clean : \
134cleantmp
135        -@rm -fr $(DIRWWW)/manuals/html/
136        -@rm -fr $(DIRWWW)/manuals/pdf/
137
138cleantmp :
139        -@rm -f $(DIRTMP)/all.xml
140        -@rm -f $(DIRTMP)/*.rst
141        -@rm -f $(DIRTMP)/*.rst[12]
142        -@rm -f $(DIRTMP)/links.rst*
143        -@rm -f $(DIRTMP)/*.tex
144        -@rm -f $(DIRWWW)/manuals/pdf/one/*.aux
145        -@rm -f $(DIRWWW)/manuals/pdf/one/*.log
146        -@rm -f $(DIRWWW)/manuals/pdf/one/*.out
147        -@rm -f $(DIRWWW)/manuals/pdf/many/*.aux
148        -@rm -f $(DIRWWW)/manuals/pdf/many/*.log
149        -@rm -f $(DIRWWW)/manuals/pdf/many/*.out
150
151htmllinkcheckb :
152        @linkchecker.sh -d $(DIRWWW)/manuals/html/
153
154htmllinkchecka :
155        @linkchecker.sh -u $(URLPUBLISH)
156
157spellcheck :
158        @++aspell --mode=sgml --master=english -c \
159        $(DIRSRC)/$(PRODUCT).xml
160
161all : \
162man_html \
163man_pdf
164
165man_html : \
166man_html_one \
167man_html_many
168
169man_html_one : \
170$(DIRWWW)/manuals/html/one/index.html
171
172man_html_many : \
173$(DIRWWW)/manuals/html/many/index.html \
174$(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html \
175$(DIRWWW)/manuals/html/many/dlogd.sh.html \
176$(DIRWWW)/manuals/html/many/elogd.sh.html \
177$(DIRWWW)/manuals/html/many/plogd.sh.html \
178$(DIRWWW)/manuals/html/many/tlogd.sh.html \
179$(DIRWWW)/manuals/html/many/cat_clim_ecmwf.sh.html \
180$(DIRWWW)/manuals/html/many/cat_clim_olr.sh.html \
181$(DIRWWW)/manuals/html/many/is_leap_year.sh.html \
182$(DIRWWW)/manuals/html/many/olr_split.sh.html \
183$(DIRWWW)/manuals/html/many/paper01_pre.sh.html \
184$(DIRWWW)/manuals/html/many/forout.pro.html \
185$(DIRWWW)/manuals/html/many/hovmuller.pro.html \
186$(DIRWWW)/manuals/html/many/paper01.pro.html \
187$(DIRWWW)/manuals/html/many/timeserie.pro.html \
188$(DIRWWW)/manuals/html/many/figure08.pro.html \
189$(DIRWWW)/manuals/html/many/figure09.pro.html \
190$(DIRWWW)/manuals/html/many/figure11.pro.html \
191$(DIRWWW)/manuals/html/many/figure12.pro.html \
192$(DIRWWW)/manuals/html/many/figure13.pro.html \
193$(DIRWWW)/manuals/html/many/figure14.pro.html
194
195man_pdf : \
196man_pdf_one \
197man_pdf_many
198
199man_pdf_one : \
200$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf \
201
202man_pdf_many : \
203$(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf \
204$(DIRWWW)/manuals/pdf/many/dlogd.sh.pdf \
205$(DIRWWW)/manuals/pdf/many/elogd.sh.pdf \
206$(DIRWWW)/manuals/pdf/many/plogd.sh.pdf \
207$(DIRWWW)/manuals/pdf/many/tlogd.sh.pdf \
208$(DIRWWW)/manuals/pdf/many/cat_clim_ecmwf.sh.pdf \
209$(DIRWWW)/manuals/pdf/many/cat_clim_olr.sh.pdf \
210$(DIRWWW)/manuals/pdf/many/is_leap_year.sh.pdf \
211$(DIRWWW)/manuals/pdf/many/olr_split.sh.pdf \
212$(DIRWWW)/manuals/pdf/many/paper01_pre.sh.pdf \
213$(DIRWWW)/manuals/pdf/many/forout.pro.pdf \
214$(DIRWWW)/manuals/pdf/many/hovmuller.pro.pdf \
215$(DIRWWW)/manuals/pdf/many/paper01.pro.pdf \
216$(DIRWWW)/manuals/pdf/many/timeserie.pro.pdf \
217$(DIRWWW)/manuals/pdf/many/figure08.pro.pdf \
218$(DIRWWW)/manuals/pdf/many/figure09.pro.pdf \
219$(DIRWWW)/manuals/pdf/many/figure11.pro.pdf \
220$(DIRWWW)/manuals/pdf/many/figure12.pro.pdf \
221$(DIRWWW)/manuals/pdf/many/figure13.pro.pdf \
222$(DIRWWW)/manuals/pdf/many/figure14.pro.pdf
223
224$(DIRWWW)/manuals/html/many/index.html : \
225$(DIRTMP)/index.rst
226        @rst2html.py --input-encoding=ISO-8859-15 --strict \
227        $< $@
228
229$(DIRWWW)/manuals/html/one/index.html : \
230$(DIRTMP)/$(PRODUCT)_manuals.rst
231        @rst2html.py --input-encoding=ISO-8859-15 --strict \
232        $< $@
233
234$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf : \
235$(DIRTMP)/$(PRODUCT)_manuals.tex
236        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $<
237
238$(DIRTMP)/$(PRODUCT)_manuals.tex : \
239$(DIRTMP)/$(PRODUCT)_manuals.rst
240        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
241        $< $@
242
243$(DIRTMP)/$(PRODUCT)_manuals.rst : \
244$(DIRTMP)/index.rst \
245$(DIRTMP)/$(PRODUCT)_profile.sh.rst \
246$(DIRTMP)/dlogd.sh.rst \
247$(DIRTMP)/elogd.sh.rst \
248$(DIRTMP)/plogd.sh.rst \
249$(DIRTMP)/tlogd.sh.rst \
250$(DIRTMP)/cat_clim_ecmwf.sh.rst \
251$(DIRTMP)/cat_clim_olr.sh.rst \
252$(DIRTMP)/is_leap_year.sh.rst \
253$(DIRTMP)/olr_split.sh.rst \
254$(DIRTMP)/paper01_pre.sh.rst \
255$(DIRTMP)/forout.pro.rst \
256$(DIRTMP)/hovmuller.pro.rst \
257$(DIRTMP)/paper01.pro.rst \
258$(DIRTMP)/timeserie.pro.rst \
259$(DIRTMP)/figure08.pro.rst \
260$(DIRTMP)/figure09.pro.rst \
261$(DIRTMP)/figure11.pro.rst \
262$(DIRTMP)/figure12.pro.rst \
263$(DIRTMP)/figure13.pro.rst \
264$(DIRTMP)/figure14.pro.rst
265        @cat $(DIRTMP)/index.rst > ${DIRTMP}/$(PRODUCT)_manuals.rst1
266        @for file in $(LIST_SRCSH); \
267        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
268        echo ".. raw:: latex" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
269        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
270        echo "  \newpage" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
271        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
272        echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
273        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
274        echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
275        echo "$$(basename $${file} | tr [:print:] =)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
276        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
277        sed -e "s/^==*$$/-----------------/" ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
278        done
279        @for file in $(LIST_SRCIDL); \
280        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
281        echo ".. raw:: latex" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
282        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
283        echo "  \newpage" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
284        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
285        echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
286        echo "$$(basename $${file} | tr [:print:] =)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
287        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
288        sed -e "s/^==*$$/-----------------/" ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
289        done
290        @grep "\.\. _.*: .*$$" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
291        ${DIRTMP}/links.rst
292        @sed -e "s/^ *//" ${DIRTMP}/links.rst | sort -u > ${DIRTMP}/links.rst2
293        @sed -e "/\.\. _.*: .*$$/d" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
294        ${DIRTMP}/$(PRODUCT)_manuals.rst2
295        @cp ${DIRTMP}/$(PRODUCT)_manuals.rst2 $@
296
297$(DIRTMP)/index.rst :
298        @echo "=================" >> $@
299        @echo "$(PRODUCTNAME) manuals" >> $@
300        @echo "=================" >> $@
301        @echo " " >> $@
302        @echo "Shell scripts" >> $@
303        @echo "=============" >> $@
304        @for file in $(LIST_SRCSH); do echo " ";echo "$$(basename $${file})_"; echo " "; echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; done >> $@
305        @echo " " >> $@
306        @echo "IDL scripts" >> $@
307        @echo "===========" >> $@
308        @echo " " >> $@
309        @for file in $(LIST_SRCIDL); do echo " ";echo "$$(basename $${file})_"; echo " "; echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; done >> $@
310        @echo " " >> $@
311
312$(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html : \
313$(DIRTMP)/$(PRODUCT)_profile.sh.rst
314        @rst2html.py --input-encoding=ISO-8859-15 --strict \
315        $< $@
316
317$(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf : \
318$(DIRTMP)/$(PRODUCT)_profile.sh.tex
319        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
320
321$(DIRTMP)/$(PRODUCT)_profile.sh.tex : \
322$(DIRTMP)/$(PRODUCT)_profile.sh.rst
323        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
324        $< $@
325
326$(DIRTMP)/$(PRODUCT)_profile.sh.rst : \
327$(DIRSRC)/$(PRODUCT)_profile.sh
328        @extract_rst.sh -i $< -l sh -o $@
329
330$(DIRWWW)/manuals/html/many/dlogd.sh.html : \
331$(DIRTMP)/dlogd.sh.rst
332        @rst2html.py --input-encoding=ISO-8859-15 --strict \
333        $< $@
334
335$(DIRWWW)/manuals/pdf/many/dlogd.sh.pdf : \
336$(DIRTMP)/dlogd.sh.tex
337        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
338        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
339
340$(DIRTMP)/dlogd.sh.tex : \
341$(DIRTMP)/dlogd.sh.rst
342        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
343        $< $@
344
345$(DIRTMP)/dlogd.sh.rst : \
346$(DIRSRC)/dlogd.sh
347        @extract_rst.sh -i $< -l sh -o $@
348
349$(DIRWWW)/manuals/html/many/elogd.sh.html : \
350$(DIRTMP)/elogd.sh.rst
351        @rst2html.py --input-encoding=ISO-8859-15 --strict \
352        $< $@
353
354$(DIRWWW)/manuals/pdf/many/elogd.sh.pdf : \
355$(DIRTMP)/elogd.sh.tex
356        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
357        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
358
359$(DIRTMP)/elogd.sh.tex : \
360$(DIRTMP)/elogd.sh.rst
361        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
362        $< $@
363
364$(DIRTMP)/elogd.sh.rst : \
365$(DIRSRC)/elogd.sh
366        @extract_rst.sh -i $< -l sh -o $@
367
368$(DIRWWW)/manuals/html/many/plogd.sh.html : \
369$(DIRTMP)/plogd.sh.rst
370        @rst2html.py --input-encoding=ISO-8859-15 --strict \
371        $< $@
372
373$(DIRWWW)/manuals/pdf/many/plogd.sh.pdf : \
374$(DIRTMP)/plogd.sh.tex
375        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
376        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
377
378$(DIRTMP)/plogd.sh.tex : \
379$(DIRTMP)/plogd.sh.rst
380        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
381        $< $@
382
383$(DIRTMP)/plogd.sh.rst : \
384$(DIRSRC)/plogd.sh
385        @extract_rst.sh -i $< -l sh -o $@
386
387$(DIRWWW)/manuals/html/many/tlogd.sh.html : \
388$(DIRTMP)/tlogd.sh.rst
389        @rst2html.py --input-encoding=ISO-8859-15 --strict \
390        $< $@
391
392$(DIRWWW)/manuals/pdf/many/tlogd.sh.pdf : \
393$(DIRTMP)/tlogd.sh.tex
394        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
395        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
396
397$(DIRTMP)/tlogd.sh.tex : \
398$(DIRTMP)/tlogd.sh.rst
399        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
400        $< $@
401
402$(DIRTMP)/tlogd.sh.rst : \
403$(DIRSRC)/tlogd.sh
404        @extract_rst.sh -i $< -l sh -o $@
405
406$(DIRWWW)/manuals/html/many/cat_clim_ecmwf.sh.html : \
407$(DIRTMP)/cat_clim_ecmwf.sh.rst
408        @rst2html.py --input-encoding=ISO-8859-15 --strict \
409        $< $@
410
411$(DIRWWW)/manuals/pdf/many/cat_clim_ecmwf.sh.pdf : \
412$(DIRTMP)/cat_clim_ecmwf.sh.tex
413        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
414        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
415
416$(DIRTMP)/cat_clim_ecmwf.sh.tex : \
417$(DIRTMP)/cat_clim_ecmwf.sh.rst
418        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
419        $< $@
420
421$(DIRTMP)/cat_clim_ecmwf.sh.rst : \
422$(DIRSRC)/cat_clim_ecmwf.sh
423        @extract_rst.sh -i $< -l sh -o $@
424
425$(DIRWWW)/manuals/html/many/cat_clim_olr.sh.html : \
426$(DIRTMP)/cat_clim_olr.sh.rst
427        @rst2html.py --input-encoding=ISO-8859-15 --strict \
428        $< $@
429
430$(DIRWWW)/manuals/pdf/many/cat_clim_olr.sh.pdf : \
431$(DIRTMP)/cat_clim_olr.sh.tex
432        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
433        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
434
435$(DIRTMP)/cat_clim_olr.sh.tex : \
436$(DIRTMP)/cat_clim_olr.sh.rst
437        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
438        $< $@
439
440$(DIRTMP)/cat_clim_olr.sh.rst : \
441$(DIRSRC)/cat_clim_olr.sh
442        @extract_rst.sh -i $< -l sh -o $@
443
444$(DIRWWW)/manuals/html/many/is_leap_year.sh.html : \
445$(DIRTMP)/is_leap_year.sh.rst
446        @rst2html.py --input-encoding=ISO-8859-15 --strict \
447        $< $@
448
449$(DIRWWW)/manuals/pdf/many/is_leap_year.sh.pdf : \
450$(DIRTMP)/is_leap_year.sh.tex
451        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
452        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
453
454$(DIRTMP)/is_leap_year.sh.tex : \
455$(DIRTMP)/is_leap_year.sh.rst
456        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
457        $< $@
458
459$(DIRTMP)/is_leap_year.sh.rst : \
460$(DIRSRC)/is_leap_year.sh
461        @extract_rst.sh -i $< -l sh -o $@
462
463$(DIRWWW)/manuals/html/many/olr_split.sh.html : \
464$(DIRTMP)/olr_split.sh.rst
465        @rst2html.py --input-encoding=ISO-8859-15 --strict \
466        $< $@
467
468$(DIRWWW)/manuals/pdf/many/olr_split.sh.pdf : \
469$(DIRTMP)/olr_split.sh.tex
470        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
471        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
472
473$(DIRTMP)/olr_split.sh.tex : \
474$(DIRTMP)/olr_split.sh.rst
475        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
476        $< $@
477
478$(DIRTMP)/olr_split.sh.rst : \
479$(DIRSRC)/olr_split.sh
480        @extract_rst.sh -i $< -l sh -o $@
481
482$(DIRWWW)/manuals/html/many/paper01_pre.sh.html : \
483$(DIRTMP)/paper01_pre.sh.rst
484        @rst2html.py --input-encoding=ISO-8859-15 --strict \
485        $< $@
486
487$(DIRWWW)/manuals/pdf/many/paper01_pre.sh.pdf : \
488$(DIRTMP)/paper01_pre.sh.tex
489        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
490        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
491
492$(DIRTMP)/paper01_pre.sh.tex : \
493$(DIRTMP)/paper01_pre.sh.rst
494        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
495        $< $@
496
497$(DIRTMP)/paper01_pre.sh.rst : \
498$(DIRSRC)/paper01_pre.sh
499        @extract_rst.sh -i $< -l sh -o $@
500
501$(DIRWWW)/manuals/html/many/forout.pro.html : \
502$(DIRTMP)/forout.pro.rst
503        @rst2html.py --input-encoding=ISO-8859-15 --strict \
504        $< $@
505
506$(DIRWWW)/manuals/pdf/many/forout.pro.pdf : \
507$(DIRTMP)/forout.pro.tex
508        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
509        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
510
511$(DIRTMP)/forout.pro.tex : \
512$(DIRTMP)/forout.pro.rst
513        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
514        $< $@
515
516$(DIRTMP)/forout.pro.rst : \
517$(DIRSRC)/forout.pro
518        @extract_rst.sh -i $< -l IDL -o $@
519
520$(DIRWWW)/manuals/html/many/hovmuller.pro.html : \
521$(DIRTMP)/hovmuller.pro.rst
522        @rst2html.py --input-encoding=ISO-8859-15 --strict \
523        $< $@
524
525$(DIRWWW)/manuals/pdf/many/hovmuller.pro.pdf : \
526$(DIRTMP)/hovmuller.pro.tex
527        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
528        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
529
530$(DIRTMP)/hovmuller.pro.tex : \
531$(DIRTMP)/hovmuller.pro.rst
532        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
533        $< $@
534
535$(DIRTMP)/hovmuller.pro.rst : \
536$(DIRSRC)/hovmuller.pro
537        @extract_rst.sh -i $< -l IDL -o $@
538
539$(DIRWWW)/manuals/html/many/paper01.pro.html : \
540$(DIRTMP)/paper01.pro.rst
541        @rst2html.py --input-encoding=ISO-8859-15 --strict \
542        $< $@
543
544$(DIRWWW)/manuals/pdf/many/paper01.pro.pdf : \
545$(DIRTMP)/paper01.pro.tex
546        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
547        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
548
549$(DIRTMP)/paper01.pro.tex : \
550$(DIRTMP)/paper01.pro.rst
551        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
552        $< $@
553
554$(DIRTMP)/paper01.pro.rst : \
555$(DIRSRC)/paper01.pro
556        @extract_rst.sh -i $< -l IDL -o $@
557
558$(DIRWWW)/manuals/html/many/timeserie.pro.html : \
559$(DIRTMP)/timeserie.pro.rst
560        @rst2html.py --input-encoding=ISO-8859-15 --strict \
561        $< $@
562
563$(DIRWWW)/manuals/pdf/many/timeserie.pro.pdf : \
564$(DIRTMP)/timeserie.pro.tex
565        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
566        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
567
568$(DIRTMP)/timeserie.pro.tex : \
569$(DIRTMP)/timeserie.pro.rst
570        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
571        $< $@
572
573$(DIRTMP)/timeserie.pro.rst : \
574$(DIRSRC)/timeserie.pro
575        @extract_rst.sh -i $< -l IDL -o $@
576
577$(DIRWWW)/manuals/html/many/figure08.pro.html : \
578$(DIRTMP)/figure08.pro.rst
579        @rst2html.py --input-encoding=ISO-8859-15 --strict \
580        $< $@
581
582$(DIRWWW)/manuals/pdf/many/figure08.pro.pdf : \
583$(DIRTMP)/figure08.pro.tex
584        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
585        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
586
587$(DIRTMP)/figure08.pro.tex : \
588$(DIRTMP)/figure08.pro.rst
589        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
590        $< $@
591
592$(DIRTMP)/figure08.pro.rst : \
593$(DIRSRC)/figure08.pro
594        @extract_rst.sh -i $< -l IDL -o $@
595
596$(DIRWWW)/manuals/html/many/figure09.pro.html : \
597$(DIRTMP)/figure09.pro.rst
598        @rst2html.py --input-encoding=ISO-8859-15 --strict \
599        $< $@
600
601$(DIRWWW)/manuals/pdf/many/figure09.pro.pdf : \
602$(DIRTMP)/figure09.pro.tex
603        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
604        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
605
606$(DIRTMP)/figure09.pro.tex : \
607$(DIRTMP)/figure09.pro.rst
608        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
609        $< $@
610
611$(DIRTMP)/figure09.pro.rst : \
612$(DIRSRC)/figure09.pro
613        @extract_rst.sh -i $< -l IDL -o $@
614
615$(DIRWWW)/manuals/html/many/figure11.pro.html : \
616$(DIRTMP)/figure11.pro.rst
617        @rst2html.py --input-encoding=ISO-8859-15 --strict \
618        $< $@
619
620$(DIRWWW)/manuals/pdf/many/figure11.pro.pdf : \
621$(DIRTMP)/figure11.pro.tex
622        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
623        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
624
625$(DIRTMP)/figure11.pro.tex : \
626$(DIRTMP)/figure11.pro.rst
627        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
628        $< $@
629
630$(DIRTMP)/figure11.pro.rst : \
631$(DIRSRC)/figure11.pro
632        @extract_rst.sh -i $< -l IDL -o $@
633
634$(DIRWWW)/manuals/html/many/figure12.pro.html : \
635$(DIRTMP)/figure12.pro.rst
636        @rst2html.py --input-encoding=ISO-8859-15 --strict \
637        $< $@
638
639$(DIRWWW)/manuals/pdf/many/figure12.pro.pdf : \
640$(DIRTMP)/figure12.pro.tex
641        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
642        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
643
644$(DIRTMP)/figure12.pro.tex : \
645$(DIRTMP)/figure12.pro.rst
646        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
647        $< $@
648
649$(DIRTMP)/figure12.pro.rst : \
650$(DIRSRC)/figure12.pro
651        @extract_rst.sh -i $< -l IDL -o $@
652
653$(DIRWWW)/manuals/html/many/figure13.pro.html : \
654$(DIRTMP)/figure13.pro.rst
655        @rst2html.py --input-encoding=ISO-8859-15 --strict \
656        $< $@
657
658$(DIRWWW)/manuals/pdf/many/figure13.pro.pdf : \
659$(DIRTMP)/figure13.pro.tex
660        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
661        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
662
663$(DIRTMP)/figure13.pro.tex : \
664$(DIRTMP)/figure13.pro.rst
665        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
666        $< $@
667
668$(DIRTMP)/figure13.pro.rst : \
669$(DIRSRC)/figure13.pro
670        @extract_rst.sh -i $< -l IDL -o $@
671
672$(DIRWWW)/manuals/html/many/figure14.pro.html : \
673$(DIRTMP)/figure14.pro.rst
674        @rst2html.py --input-encoding=ISO-8859-15 --strict \
675        $< $@
676
677$(DIRWWW)/manuals/pdf/many/figure14.pro.pdf : \
678$(DIRTMP)/figure14.pro.tex
679        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
680        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
681
682$(DIRTMP)/figure14.pro.tex : \
683$(DIRTMP)/figure14.pro.rst
684        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
685        $< $@
686
687$(DIRTMP)/figure14.pro.rst : \
688$(DIRSRC)/figure14.pro
689        @extract_rst.sh -i $< -l IDL -o $@
Note: See TracBrowser for help on using the repository browser.