source: trunk/adm/makefile @ 70

Last change on this file since 70 was 70, checked in by pinsard, 14 years ago

add man troff output of manuals and some light modification in sources due to docutils upgrade (0.6); warning : new troubles with target

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 14.7 KB
Line 
1#+
2#
3# module
4# ======
5#
6# génération des manuels ircaam
7#
8# TODO
9# ====
10#
11# ++ doc executable vs doc sources (pour progfiltrage_simulation.F90)
12#
13# ++ 2 docs pour forfilter.f (filtre et kiser)
14#
15# ++ lien avec les guides
16#
17# EVOLUTIONS
18# ==========
19#
20# $Id$
21#
22# - fplod 20100310T111645Z aedon.locean-ipsl.upmc.fr (Darwin)
23#
24#   * add man_troff possible now with docutils 0.6
25#     can be test with
26#      $ man -M ../doc//manuals/man ircaam_profile.sh
27#
28# - fplod 2009-05-13T12:48:45Z aedon.locean-ipsl.upmc.fr (Darwin)
29#
30#   * implicit rules
31#
32#     nb : may be will only work wih GNU make
33#     but easier to update : only one line to add in thi makefile when
34#     a new file (.pro or .sh) is added in $(DIRSRC) directory
35#
36#   * rst2latex usage of manuals_many.sty and manual_one.sty (for TOC and parindent)
37#   * bug fix for PDF manual (missing one pdf2latex)
38#
39# - fplod 2009-04-03T08:01:24Z aedon.locean-ipsl.upmc.fr (Darwin)
40#
41#   * replace rst2newlatex by rst2latex and add options
42#   * suppression of rawlatex
43#   * add TOC thanks to http://docutils.sourceforge.net/docs/user/rst/demo.txt
44#
45# - fplod 2009-02-10T10:36:02Z aedon.locean-ipsl.upmc.fr (Darwin)
46#
47#   * add progfiltrage_simulation.F90, forfilter.f (new category sources fortran)
48#   * add progfiltrage_simulation.x (new category executable)++
49#
50# - fplod 2009-02-02T13:25:23Z aedon.locean-ipsl.upmc.fr (Darwin)
51#
52#   * add time_serie_eof_df.m, carte_eof_df.m, prepare_olr_filtre_simulation.m
53#
54# - fplod 2009-01-28T08:13:15Z aedon.locean-ipsl.upmc.fr (Darwin)
55#
56#   * add reconstitution_ER_rossby_df.m, time_serie_histog_phase.m,
57#     time_serie_histog_phase_num.m, composite_olr_phase.m,
58#     composite_olr_phase_num.m, composite_olr_eof_df.m,
59#     time_serie_jjas_df.m
60#
61# - fplod 2009-01-27T11:40:41Z aedon.locean-ipsl.upmc.fr (Darwin)
62#
63#   * add time_serie_ER_rossby_df.m, time_serie_ER_rossby_df_complet.m,
64#     carte_eof_ER_jjas_df.m, olr_eof_jjas2006_rossby_df.m,
65#     carte_eof234_jjas_df.m
66#
67# - fplod 2009-01-06T13:47:14Z aedon.locean-ipsl.upmc.fr (Darwin)
68#
69#   * add palette1.m palette3.m palettejerome30.m
70#
71# - fplod 2009-01-05T11:14:07Z aedon.locean-ipsl.upmc.fr (Darwin)
72#
73#   * add sauvegrads.m cartemonde.m cartemonde1.m palette.m palettecomplet.m
74#
75# - fplod 2008-12-05T11:15:37Z aedon.locean-ipsl.upmc.fr (Darwin)
76#
77#   * creation
78#
79# SEE ALSO
80# ========
81#
82# extract_rst.sh_
83#
84# .. _extract_rst.sh: ../extract_rst.sh.html
85#
86#-
87#
88PRODUCT = \
89ircaam
90
91PRODUCTNAME = \
92$$(echo $(PRODUCT) | tr [:lower:] [:upper:])
93
94SUBPRODUCT = \
95ircaam_ws
96
97DIRSRC = \
98../src/
99
100DIRADM = \
101./
102
103DIRTMP = \
104./
105
106DIRDESIGN = \
107./design/
108
109DIRWWW = \
110../doc/
111
112URLPUBLISH = \
113http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)/$(SUBPRODUCT)/doc/manuals/
114
115LIST_SRCSH = \
116$(DIRSRC)/$(PRODUCT)_profile.sh \
117$(DIRSRC)/dlogd.sh \
118$(DIRSRC)/elogd.sh \
119$(DIRSRC)/plogd.sh \
120$(DIRSRC)/tlogd.sh \
121$(DIRSRC)/refdataget.sh
122
123LIST_SRCSH_RST = \
124$(shell echo "$(LIST_SRCSH)" | \
125        sed -e "s+$(DIRSRC)+$(DIRTMP)+g" \
126            -e "s+\.sh+.sh.rst+g")
127
128LIST_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
133LIST_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
138LIST_SRCSH_PDF = \
139$(shell echo "$(LIST_SRCSH)" | \
140        sed -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" \
141            -e "s+\.sh+.sh.pdf+g")
142
143LIST_SRCMATLAB = \
144$(DIRSRC)/$(PRODUCT)_startup.m \
145$(DIRSRC)/sauvegrads.m \
146$(DIRSRC)/cartemonde.m \
147$(DIRSRC)/cartemonde1.m \
148$(DIRSRC)/palette.m \
149$(DIRSRC)/palettecomplet.m \
150$(DIRSRC)/palette1.m \
151$(DIRSRC)/palette3.m \
152$(DIRSRC)/palettejerome30.m \
153$(DIRSRC)/mode_sahelien/time_serie_ER_rossby_df.m \
154$(DIRSRC)/mode_sahelien/time_serie_ER_rossby_df_complet.m \
155$(DIRSRC)/mode_sahelien/carte_eof_ER_jjas_df.m \
156$(DIRSRC)/mode_sahelien/olr_eof_jjas2006_rossby_df.m \
157$(DIRSRC)/mode_sahelien/carte_eof234_jjas_df.m \
158$(DIRSRC)/mode_sahelien/reconstitution_ER_rossby_df.m \
159$(DIRSRC)/mode_sahelien/time_serie_histog_phase.m \
160$(DIRSRC)/mode_sahelien/time_serie_histog_phase_num.m \
161$(DIRSRC)/mode_sahelien/composite_olr_phase.m \
162$(DIRSRC)/mode_sahelien/composite_olr_phase_num.m \
163$(DIRSRC)/mode_sahelien/composite_olr_eof_df.m \
164$(DIRSRC)/mode_sahelien/time_serie_jjas_df.m \
165$(DIRSRC)/SIMULS_IRCAAM/time_serie_eof_df.m \
166$(DIRSRC)/SIMULS_IRCAAM/carte_eof_df.m \
167$(DIRSRC)/SIMULS_IRCAAM/prepare_olr_filtre_simulation.m
168
169LIST_SRCMATLAB_RST = \
170$(shell echo "$(LIST_SRCMATLAB)" | \
171        sed -e "s+$(DIRSRC)/mode_sahelien+$(DIRTMP)+g" \
172            -e "s+$(DIRSRC)/SIMULS_IRCAAM+$(DIRTMP)+g" \
173            -e "s+$(DIRSRC)+$(DIRTMP)+g" \
174            -e "s+\.m+.m.rst+g")
175
176LIST_SRCMATLAB_HTML = \
177$(shell echo "$(LIST_SRCMATLAB)" | \
178        sed -e "s+$(DIRSRC)/mode_sahelien/+$(DIRWWW)/manuals/html/many/+g" \
179            -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/html/many/+g" \
180            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \
181            -e "s+\.m+.m.html+g")
182
183LIST_SRCMATLAB_PDF = \
184$(shell echo "$(LIST_SRCMATLAB)" | \
185        sed -e "s+$(DIRSRC)/mode_sahelien/+$(DIRWWW)/manuals/pdf/many/+g" \
186            -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/pdf/many/+g" \
187            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" \
188            -e "s+\.m+.m.pdf+g")
189
190LIST_SRCFORTRAN = \
191$(DIRSRC)/SIMULS_IRCAAM/progfiltrage_simulation.F90 \
192$(DIRSRC)/forfilter.f
193
194LIST_SRCFORTRAN_RST = \
195$(shell echo "$(LIST_SRCFORTRAN)" | \
196        sed -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRTMP)+g" \
197            -e "s+$(DIRSRC)+$(DIRTMP)+g" \
198            -e "s+\.F90+.F90.rst+g" \
199            -e "s+\.f+.f.rst+g")
200
201LIST_SRCFORTRAN_HTML = \
202$(shell echo "$(LIST_SRCFORTRAN)" | \
203        sed -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/html/many/+g" \
204            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/html/many/+g" \
205            -e "s+\.F90+.F90.html+g" \
206            -e "s+\.f+.f.html+g")
207
208LIST_SRCFORTRAN_PDF = \
209$(shell echo "$(LIST_SRCFORTRAN)" | \
210        sed -e "s+$(DIRSRC)/mode_sahelien/+$(DIRWWW)/manuals/pdf/many/+g" \
211            -e "s+$(DIRSRC)/SIMULS_IRCAAM/+$(DIRWWW)/manuals/pdf/many/+g" \
212            -e "s+$(DIRSRC)+$(DIRWWW)/manuals/pdf/many/+g" \
213            -e "s+\.F90+.F90.pdf+g" \
214            -e "s+\.f+.f.pdf+g")
215
216RST2MAN = \
217rst2man.py
218
219RST2HTML = \
220rst2html.py
221
222RST2LATEX = \
223rst2latex.py
224
225RST2LATEX_OPTIONS_ONE = \
226--documentclass=book \
227--stylesheet=manual_one.sty \
228--use-latex-toc \
229--section-numbering \
230--traceback \
231--use-verbatim-when-possible
232
233RST2LATEX_OPTIONS_MANY = \
234--documentclass=article \
235--stylesheet=manuals_many.sty \
236--traceback \
237--use-verbatim-when-possible
238
239.PHONY : \
240help \
241before \
242clean \
243cleantmp \
244design \
245htmllinkcheckb \
246htmllinkchecka \
247spellcheck \
248all \
249man_troff \
250man_html \
251man_html_one \
252man_html_many \
253man_pdf \
254man_pdf_one \
255man_pdf_many
256
257help :
258        @echo "Prepare output directories :"
259        @echo "\$$ make before"
260        @echo ""
261        @echo "Following commands are available to build outputs :"
262        @echo "\$$ make all"
263        @echo " "
264        @echo "Check links before installation : "
265        @echo "\$$ make htmllinkcheckb"
266        @echo " "
267        @echo "Last step = installation of HTML and pdf files"
268        @echo "\$$ make install_all"
269        @echo " "
270        @echo "Check links after installation : "
271        @echo "\$$ make htmllinkchecka"
272        @echo " "
273
274before :
275        @mkdir -p $(DIRWWW)/manuals/man/man1/
276        @mkdir -p $(DIRWWW)/manuals/html/one/
277        @mkdir -p $(DIRWWW)/manuals/html/many/
278        @mkdir -p $(DIRWWW)/manuals/pdf/one/
279        @mkdir -p $(DIRWWW)/manuals/pdf/many/
280
281install_all : \
282install_html \
283install_pdf
284
285install_html :
286        @$(DIRADM)/install.sh -w $(DIRWWW)/manuals/html/ -u $(URLPUBLISH)/html/
287
288install_pdf :
289        @$(DIRADM)/install.sh -w $(DIRWWW)/manuals/pdf/ -u $(URLPUBLISH)/pdf/
290
291clean : \
292cleantmp
293        -@rm -fr $(DIRWWW)/manuals/man/
294        -@rm -fr $(DIRWWW)/manuals/html/
295        -@rm -fr $(DIRWWW)/manuals/pdf/
296        -@rm -fr $(DIRWWW)/src_browser/
297
298cleantmp :
299        -@rm -f $(DIRTMP)/all.xml
300        -@rm -f $(DIRTMP)/*.rst
301        -@rm -f $(DIRTMP)/*.rst[12]
302        -@rm -f $(DIRTMP)/links.rst*
303        -@rm -f $(DIRTMP)/*.tex
304        -@rm -f $(DIRWWW)/manuals/pdf/one/*.aux
305        -@rm -f $(DIRWWW)/manuals/pdf/one/*.log
306        -@rm -f $(DIRWWW)/manuals/pdf/one/*.out
307        -@rm -f $(DIRWWW)/manuals/pdf/many/*.aux
308        -@rm -f $(DIRWWW)/manuals/pdf/many/*.log
309        -@rm -f $(DIRWWW)/manuals/pdf/many/*.out
310
311design : \
312$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.png \
313$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.svg
314
315htmllinkcheckb :
316        @$(DIRADM)/linkchecker.sh -d $(DIRWWW)/manuals/html/
317
318htmllinkchecka :
319        @$(DIRADM)/linkchecker.sh -u $(URLPUBLISH)
320
321spellcheck :
322        @++aspell --mode=sgml --master=english -c \
323        $(DIRSRC)/$(PRODUCT).xml
324
325all : \
326man_troff \
327man_html \
328man_pdf
329
330man_troff : \
331$(LIST_SRCSH_TROFF)
332
333man_html : \
334man_html_one \
335man_html_many
336
337man_html_one : \
338$(DIRWWW)/manuals/html/one/index.html
339
340man_html_many : \
341$(DIRWWW)/manuals/html/many/index.html \
342$(LIST_SRCSH_HTML) \
343$(LIST_SRCMATLAB_HTML) \
344$(LIST_SRCFORTRAN_HTML)
345
346man_pdf : \
347man_pdf_one \
348man_pdf_many
349
350man_pdf_one : \
351$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf \
352
353man_pdf_many : \
354$(LIST_SRCSH_PDF) \
355$(LIST_SRCMATLAB_PDF) \
356$(LIST_SRCFORTRAN_PDF)
357
358$(DIRWWW)/manuals/html/many/index.html : \
359$(DIRTMP)/index_many.rst
360        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \
361        $< $@
362
363$(DIRWWW)/manuals/html/one/index.html : \
364$(DIRTMP)/$(PRODUCT)_manuals.rst
365        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \
366        $< $@
367
368$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf : \
369$(DIRTMP)/$(PRODUCT)_manuals.tex
370        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $<
371        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $<
372
373$(DIRTMP)/$(PRODUCT)_manuals.tex : \
374$(DIRTMP)/$(PRODUCT)_manuals.rst
375        @$(RST2LATEX) $(RST2LATEX_OPTIONS_ONE) --input-encoding=ISO-8859-15 --strict \
376        $< $@
377
378$(DIRTMP)/$(PRODUCT)_manuals.rst : \
379$(DIRTMP)/index_one.rst \
380$(LIST_SRCSH_RST) \
381$(LIST_SRCMATLAB_RST) \
382$(LIST_SRCFORTRAN_RST)
383        @cat $(DIRTMP)/index_one.rst > ${DIRTMP}/$(PRODUCT)_manuals.rst1
384        @echo "Shell scripts" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
385        @echo "=============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
386        @for file in $(LIST_SRCSH); \
387        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
388         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
389         echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
390         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
391         echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
392         echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
393         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
394         sed -e "s/^==*$$/-----------------/" \
395        -e "s/^--*$$/~~~~~~~~~~~~~~~~~~~~/" \
396         ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
397        done
398        @echo "MATLAB scripts" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
399        @echo "==============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
400        @for file in $(LIST_SRCMATLAB); \
401        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
402         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
403         echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
404         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
405         echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
406         echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
407         echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
408         sed -e "s/^==*$$/-----------------/" \
409         -e "s/^--*$$/~~~~~~~~~~~~~~~~~~~~/" \
410         ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
411        done
412        @echo "Fortran Sources" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
413        @echo "===============" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1
414        @for file in $(LIST_SRCFORTRAN); \
415        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
416        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
417        echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
418        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
419        echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
420        echo "$$(basename $${file} | tr [:print:] -)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
421        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
422        sed -e "s/^==*$$/-----------------/" \
423        -e "s/^--*$$/~~~~~~~~~~~~~~~~~~~~/" \
424        ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
425        done
426        @grep "\.\. _.*: .*$$" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
427        ${DIRTMP}/links.rst
428        @sed -e "s/^ *//" ${DIRTMP}/links.rst | sort -u > ${DIRTMP}/links.rst2
429        @sed -e "/\.\. _.*: .*$$/d" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
430        ${DIRTMP}/$(PRODUCT)_manuals.rst2
431        @cp ${DIRTMP}/$(PRODUCT)_manuals.rst2 $@
432
433$(DIRTMP)/index_one.rst :
434        @echo "=================" >> $@
435        @echo "$(PRODUCTNAME) manuals" >> $@
436        @echo "=================" >> $@
437        @echo " " >> $@
438        @echo ".. contents:: Table of Contents" >> $@
439        @echo "  :depth: 2" >> $@
440        @echo ".. section-numbering::" >> $@
441        @echo " " >> $@
442
443$(DIRTMP)/index_many.rst :
444        @echo "=================" >> $@
445        @echo "$(PRODUCTNAME) manuals" >> $@
446        @echo "=================" >> $@
447        @echo " " >> $@
448        @echo "Shell scripts" >> $@
449        @echo "=============" >> $@
450        @for file in $(LIST_SRCSH); \
451        do echo " "; \
452        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \
453        echo " "; \
454        echo "- $$(basename $${file})_"; \
455        done  >> $@
456        @echo " " >> $@
457        @echo "MATLAB scripts" >> $@
458        @echo "==============" >> $@
459        @for file in $(LIST_SRCMATLAB); \
460        do echo " "; \
461        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \
462        echo " "; \
463        echo "- $$(basename $${file})_"; \
464        done >> $@
465        @echo " " >> $@
466        @echo "Fortran Sources" >> $@
467        @echo "===============" >> $@
468        @for file in $(LIST_SRCFORTRAN); \
469        do echo " "; \
470        echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; \
471        echo " "; \
472        echo "- $$(basename $${file})_"; \
473        done >> $@
474        @echo " " >> $@
475
476$(DIRWWW)/manuals/man/man1/%.1:$(DIRTMP)/%.rst
477        @$(RST2MAN) --input-encoding=ISO-8859-15 --strict \
478        $< $@
479
480$(DIRWWW)/manuals/html/many/%.html:$(DIRTMP)/%.rst
481        @$(RST2HTML) --input-encoding=ISO-8859-15 --strict \
482        $< $@
483
484$(DIRWWW)/manuals/pdf/many/%.pdf : $(DIRTMP)/%.tex
485        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
486        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
487
488$(DIRTMP)/%.tex : $(DIRTMP)/%.rst
489        @$(RST2LATEX) $(RST2LATEX_OPTIONS_MANY) --input-encoding=ISO-8859-15 --strict \
490        $< $@
491
492$(DIRTMP)/%.sh.rst : $(DIRSRC)/%.sh
493        @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@
494
495$(DIRTMP)/%.m.rst : $(DIRSRC)/%.m
496        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@
497
498$(DIRTMP)/%.m.rst : $(DIRSRC)/mode_sahelien/%.m
499        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@
500
501$(DIRTMP)/%.m.rst : $(DIRSRC)/SIMULS_IRCAAM/%.m
502        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@
503
504$(DIRTMP)/%.F90.rst : $(DIRSRC)/SIMULS_IRCAAM/%.F90
505        @$(DIRADM)/extract_rst.sh -i $< -l fortran -o $@
506
507$(DIRTMP)/%.f.rst : $(DIRSRC)/%.f
508        @$(DIRADM)/extract_rst.sh -i $< -l fortran -o $@
509
510$(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg
511        @convert $< $@
512
513$(DIRDESIGN)/images/%.svg : $(DIRDESIGN)/%.dot
514        @dot -Tsvg -o $@ $<
515
516$(DIRDESIGN)/$(PRODUCT)_fulldependencies.dot : \
517./makefile
518        @makeppgraph --graphviz --output=$@
Note: See TracBrowser for help on using the repository browser.