source: trunk/adm/makefile @ 48

Last change on this file since 48 was 48, checked in by pinsard, 13 years ago

consolidation of RAMA/TAO/PIRATA get tools and doc

  • Property svn:executable set to *
File size: 14.2 KB
Line 
1#+
2#
3# .. _makefile:
4#
5# ========
6# makefile
7# ========
8#
9# génération des manuels tropflux
10#
11# TODO
12# ====
13#
14# add -W to sphinx command when encoding problems are solved
15#
16# deux biblio : une dans guide et une dans website : actuellement seule celle de# website est vu dans html_dev
17#
18# usage of sphinx/source/Makefile
19#
20# IDL and matlab in man_troff
21#
22# pb with automodule for python path
23#
24# EVOLUTIONS
25# ==========
26#
27# - fplod 20110411T160342Z aedon.locean-ipsl.upmc.fr (Darwin)
28#
29#   * handle paper01/fig*/*.pro (quite ugly !!)
30#
31# - fplod 20110401T091241Z aedon.locean-ipsl.upmc.fr (Darwin)
32#
33#   * replace URLPUBLISH by URLPUBLISH_DEV
34#   * replace DIRWWW by DIRWWW_DEV
35#   * add URLPUBLISH_USER and DIRWWW_USER to handle website
36#   
37# - fplod 20110203T101853Z aedon.locean-ipsl.upmc.fr (Darwin)
38#
39#   * add cdo inventory file for sphinx intermapping
40#
41# - fplod 20110110T165518Z aedon.locean-ipsl.upmc.fr (Darwin)
42#
43#   * add odv files
44#
45# - fplod 20110106T135021Z aedon.locean-ipsl.upmc.fr (Darwin)
46#
47#   * add matlab, ferret files
48#
49# - fplod 20101223T083725Z aedon.locean-ipsl.upmc.fr (Darwin)
50#
51#   * add nco inventory file for sphinx intermapping
52#
53# - fplod 20101220T092552Z aedon.locean-ipsl.upmc.fr (Darwin)
54#
55#   * add saxo inventory file for sphinx intermapping
56#
57# - fplod 20101118T165524Z aedon.locean-ipsl.upmc.fr (Darwin)
58#
59#   * creation
60#
61# SEE ALSO
62# ========
63#
64# :ref:`extract_rst.sh`
65#
66#-
67#
68PRODUCT = \
69tropflux
70
71PRODUCTNAME = \
72$$(echo $(PRODUCT) | tr [:lower:] [:upper:])
73
74SUBPRODUCT = \
75tropflux_ws
76
77DIRSRC = \
78../src/
79
80DIRADM = \
81./
82
83DIRTMP = \
84./
85
86DIRDESIGN = \
87./design/
88
89DIRWWW_DEV = \
90../doc/
91
92DIRWWW_USER = \
93./website/_build/
94
95URLPUBLISH_DEV = \
96http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)/$(SUBPRODUCT)/doc/
97
98URLPUBLISH_USER = \
99http://www.locean-ipsl.upmc.fr/~tropflux
100
101LIST_INVENTORY = \
102$(DIRADM)/saxo.inv \
103$(DIRADM)/nco.inv \
104$(DIRADM)/cdo.inv
105
106LIST_RST_GUIDES = \
107$(shell find $(DIRADM)/guides/ -name "*.rst") \
108$(shell find $(DIRADM)/website/ -name "*.rst") \
109
110LIST_SRCSH = \
111$(shell find $(DIRSRC) -name "*.sh" | sort)
112
113LIST_SRCSH_RST = \
114$(shell echo "$(LIST_SRCSH)" | \
115        sed -e "s+$(DIRSRC)+$(DIRTMP)/sphinx_tmpdir/manuals/+g" \
116            -e "s+\.sh+.sh.rst+g")
117
118LIST_SRCSH_TROFF = \
119$(shell echo "$(LIST_SRCSH)" | \
120        sed -e "s+$(DIRSRC)+$(DIRWWW_DEV)/man/man1/+g" \
121            -e "s+\.sh+.sh.1+g")
122
123LIST_SRCIDL = \
124$(shell find $(DIRSRC) -name "*.pro" | sort)
125
126LIST_SRCIDL_RST = \
127$(shell echo "$(LIST_SRCIDL)" | \
128        sed -e "s+$(DIRSRC)+$(DIRTMP)/sphinx_tmpdir/manuals/+g" \
129            -e "s+$(DIRSRC)/paper01/fig1+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig1+g" \
130            -e "s+$(DIRSRC)/paper01/fig2+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig2+g" \
131            -e "s+$(DIRSRC)/paper01/fig3+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig3+g" \
132            -e "s+$(DIRSRC)/paper01/fig4+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig4+g" \
133            -e "s+$(DIRSRC)/paper01/fig5+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig5+g" \
134            -e "s+$(DIRSRC)/paper01/fig6+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig6+g" \
135            -e "s+$(DIRSRC)/paper01/fig7+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig7+g" \
136            -e "s+$(DIRSRC)/paper01/fig8+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig8+g" \
137            -e "s+$(DIRSRC)/paper01/fig9+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig9+g" \
138            -e "s+$(DIRSRC)/paper01/fig10+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig10+g" \
139            -e "s+$(DIRSRC)/paper01/fig11+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig11+g" \
140            -e "s+$(DIRSRC)/paper01/fig12+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig12+g" \
141            -e "s+$(DIRSRC)/paper01/fig13+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig13+g" \
142            -e "s+$(DIRSRC)/paper01/fig14+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig14+g" \
143            -e "s+$(DIRSRC)/paper01/fig15+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig15+g" \
144            -e "s+$(DIRSRC)/paper01/fig16+$(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig16+g" \
145            -e "s+\.pro+.pro.rst+g")
146
147LIST_SRCMATLAB = \
148$(DIRSRC)/test/$(PRODUCT)_startup.m \
149$(DIRSRC)/test/read.m
150
151LIST_SRCMATLAB_RST = \
152$(shell echo "$(LIST_SRCMATLAB)" | \
153        sed -e "s+$(DIRSRC)/test/+$(DIRTMP)/sphinx_tmpdir/manuals/+g" \
154            -e "s+\.m+.m.rst+g")
155
156LIST_SRCFERRET = \
157$(DIRSRC)/test/read.jnl
158
159LIST_SRCFERRET_RST = \
160$(shell echo "$(LIST_SRCFERRET)" | \
161        sed -e "s+$(DIRSRC)/test/+$(DIRTMP)/sphinx_tmpdir/manuals/+g" \
162            -e "s+\.jnl+.jnl.rst+g")
163
164LIST_SRCODV = \
165$(DIRSRC)/test/read.cmd
166
167LIST_SRCODV_RST = \
168$(shell echo "$(LIST_SRCODV)" | \
169        sed -e "s+$(DIRSRC)/test/+$(DIRTMP)/sphinx_tmpdir/manuals/+g" \
170            -e "s+\.cmd+.cmd.rst+g")
171
172LIST_SRCPYTHON = \
173$(DIRSRC)/test/read.py
174
175.PHONY : \
176help \
177before \
178clean \
179cleantmp \
180design \
181htmllinkcheckb \
182htmllinkchecka \
183spellcheck \
184all \
185man \
186man_troff_sphinx \
187html \
188html_dev \
189html_dev_sphinx \
190html_dev_sphinx_one \
191html_user \
192pdf \
193pdf_dev \
194pdf_dev_sphinx \
195pdf_user \
196html_src_browser \
197html_src_browser_doxygen
198
199help :
200        @echo "Prepare output directories :"
201        @echo "\$$ make before"
202        @echo ""
203        @echo "Following commands are available to build outputs :"
204        @echo "\$$ make all"
205        @echo " "
206        @echo "Check links before installation : "
207        @echo "\$$ make htmllinkcheckb"
208        @echo " "
209        @echo "Last step = installation of HTML and pdf files"
210        @echo "\$$ make install_all"
211        @echo " "
212        @echo "Check links after installation : "
213        @echo "\$$ make htmllinkchecka"
214        @echo " "
215
216before :
217        @mkdir -p $(DIRWWW_DEV)/man/man1/
218        @mkdir -p $(DIRWWW_DEV)/html/sphinx/
219        @mkdir -p $(DIRWWW_DEV)/pdf/sphinx/
220        @mkdir -p $(DIRTMP)/sphinx_tmpdir/doctrees/
221        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/
222        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/
223        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig1
224        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig2
225        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig3
226        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig4
227        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig5
228        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig6
229        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig7
230        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig8
231        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig9
232        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig10
233        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig11
234        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig12
235        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig13
236        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig14
237        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig15
238        @mkdir -p $(DIRTMP)/sphinx_tmpdir/manuals/paper01/fig16
239        @mkdir -p $(DIRTMP)/sphinx_tmpdir/guides/
240        @mkdir -p $(DIRWWW_DEV)/src_browser/
241
242
243install_all : \
244install_html_dev \
245install_html_user \
246install_pdf_dev \
247install_pdf_user \
248install_browser
249
250install_html_dev :
251        @$(DIRADM)/install.sh -w $(DIRWWW_DEV)/html/ -u $(URLPUBLISH_DEV)/html/
252
253install_html_user :
254        @$(DIRADM)/install.sh -w $(DIRWWW_USER)/ -u $(URLPUBLISH_USER)/
255
256install_pdf_dev :
257        @$(DIRADM)/install.sh -w $(DIRWWW_DEV)/pdf/ -u $(URLPUBLISH_DEV)/pdf/
258
259install_pdf_user :
260        @$(DIRADM)/install.sh -w $(DIRWWW_USER)/pdf/ -u $(URLPUBLISH_USER)/pdf/
261
262install_browser :
263        @$(DIRADM)/install.sh -w $(DIRWWW_DEV)/src_browser/doxygen/html/ -u $(URLPUBLISH_DEV)/src_browser/doxygen/html/
264
265clean : \
266cleantmp
267        -@rm -fr $(DIRWWW_DEV)/man/
268        -@rm -fr $(DIRWWW_DEV)/html/
269        -@rm -fr $(DIRWWW_DEV)/pdf/
270        -@rm -fr $(DIRWWW_DEV)/src_browser/
271        cd $(DIRADM)/website/; make clean
272
273
274cleantmp :
275        -@rm -f $(DIRTMP)/all.xml
276        -@rm -f $(DIRTMP)/*.txt
277        -@rm -f $(DIRTMP)/*.tex
278        -@rm -fr $(DIRTMP)/sphinx_tmpdir/
279        -@rm -f $(DIRTMP)/sphinx_*.log
280
281design : \
282$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.png \
283$(DIRDESIGN)/images/$(PRODUCT)_fulldependencies.svg
284
285htmllinkcheckb :
286        @$(DIRADM)/linkchecker.sh -d $(DIRWWW_DEV)/html/
287        @$(DIRADM)/linkchecker.sh -d $(DIRWWW_USER)
288
289htmllinkchecka :
290        @$(DIRADM)/linkchecker.sh -u $(URLPUBLISH_DEV)
291        @$(DIRADM)/linkchecker.sh -u $(URLPUBLISH_USER)
292
293spellcheck :
294        @++aspell --mode=sgml --master=english -c \
295        $(DIRSRC)/$(PRODUCT).xml
296
297all : \
298man \
299html_src_browser
300
301html_src_browser : \
302html_src_browser_doxygen
303
304man : \
305man_troff_sphinx
306
307man_troff_sphinx : \
308$(DIRADM)/sphinx/conf.py \
309$(DIRTMP)/sphinx_tmpdir/index_manuals.rst \
310$(LIST_SRCSH_RST) \
311$(LIST_SRCIDL_RST) \
312$(LIST_SRCMATLAB_RST) \
313$(LIST_SRCFERRET_RST) \
314$(LIST_SRCODV_RST) \
315$(LIST_SRCPYTHON)
316        @sphinx-build -b man -c $(DIRADM)/sphinx \
317            -d $(DIRTMP)/sphinx_tmpdir/doctrees/ \
318            -d $(DIRTMP)/sphinx_tmpdir/doctrees/manuals/ \
319            -w $(DIRTMP)/sphinx_man_troff.log \
320            $(DIRTMP)/sphinx_tmpdir/ \
321            $(DIRWWW_DEV)/man/man1/
322
323html : \
324html_user \
325html_dev
326
327html_user :
328        cd $(DIRADM)/website/; make html
329
330html_dev : \
331html_dev_sphinx \
332html_dev_sphinx_one
333
334html_dev_sphinx : \
335$(DIRADM)/sphinx/conf.py \
336$(DIRADM)/index.rst \
337$(DIRADM)/index_guides.rst \
338$(DIRTMP)/sphinx_tmpdir/index_manuals.rst \
339$(LIST_INVENTORY) \
340$(LIST_RST_GUIDES) \
341$(LIST_SRCSH_RST) \
342$(LIST_SRCIDL_RST) \
343$(LIST_SRCMATLAB_RST) \
344$(LIST_SRCFERRET_RST) \
345$(LIST_SRCODV_RST) \
346$(LIST_SRCPYTHON)
347        @cp $(DIRADM)/index.rst $(DIRTMP)/sphinx_tmpdir/
348        @cp $(DIRADM)/index_guides.rst $(DIRTMP)/sphinx_tmpdir/
349        @cp $(LIST_RST_GUIDES) $(DIRTMP)/sphinx_tmpdir/guides/
350        @cp $(LIST_INVENTORY) $(DIRTMP)/sphinx_tmpdir/
351        @cp $(LIST_SRCPYTHON) $(DIRTMP)/sphinx_tmpdir/manuals/
352        @sphinx-build -b html -c $(DIRADM)/sphinx \
353            -d $(DIRTMP)/sphinx_tmpdir/doctrees \
354            -w $(DIRTMP)/sphinx_html.log \
355            $(DIRTMP)/sphinx_tmpdir/ \
356            $(DIRWWW_DEV)/html/sphinx/
357
358html_dev_sphinx_one : \
359$(DIRADM)/sphinx/conf.py \
360$(DIRADM)/index.rst \
361$(DIRADM)/index_guides.rst \
362$(DIRTMP)/sphinx_tmpdir/index_manuals.rst \
363$(LIST_INVENTORY) \
364$(LIST_RST_GUIDES) \
365$(LIST_SRCSH_RST) \
366$(LIST_SRCIDL_RST) \
367$(LIST_SRCMATLAB_RST) \
368$(LIST_SRCFERRET_RST) \
369$(LIST_SRCODV_RST) \
370$(LIST_SRCPYTHON)
371        @cp $(DIRADM)/index.rst $(DIRTMP)/sphinx_tmpdir/
372        @cp $(DIRADM)/index_guides.rst $(DIRTMP)/sphinx_tmpdir/
373        @cp $(LIST_RST_GUIDES) $(DIRTMP)/sphinx_tmpdir/guides/
374        @cp $(LIST_INVENTORY) $(DIRTMP)/sphinx_tmpdir/
375        @sphinx-build -b singlehtml -c $(DIRADM)/sphinx \
376            -d $(DIRTMP)/sphinx_tmpdir/doctrees \
377            -w $(DIRTMP)/sphinx_html_one.log \
378            $(DIRTMP)/sphinx_tmpdir/ \
379            $(DIRWWW_DEV)/html/sphinx_one/
380
381pdf : \
382pdf_user \
383pdf_dev
384
385pdf_user :
386        cd $(DIRADM)/website/
387        make pdf
388
389pdf_dev : \
390pdf_dev_sphinx
391
392pdf_dev_sphinx : \
393$(DIRADM)/sphinx/conf.py \
394$(DIRADM)/index.rst \
395$(DIRADM)/index_guides.rst \
396$(DIRTMP)/sphinx_tmpdir/index_manuals.rst \
397$(LIST_INVENTORY) \
398$(LIST_RST_GUIDES) \
399$(LIST_SRCSH_RST) \
400$(LIST_SRCIDL_RST) \
401$(LIST_SRCMATLAB_RST) \
402$(LIST_SRCFERRET_RST) \
403$(LIST_SRCODV_RST) \
404$(LIST_SRCPYTHONS)
405        @cp $(DIRADM)/index.rst $(DIRTMP)/sphinx_tmpdir/
406        @cp $(DIRADM)/index_guides.rst $(DIRTMP)/sphinx_tmpdir/
407        @cp $(LIST_RST_GUIDES) $(DIRTMP)/sphinx_tmpdir/guides/
408        @cp $(LIST_INVENTORY) $(DIRTMP)/sphinx_tmpdir/
409        @sphinx-build -b latex -c $(DIRADM)/sphinx \
410            -d $(DIRTMP)/sphinx_tmpdir/doctrees \
411            -w $(DIRTMP)/sphinx_pdf_dev.log \
412            $(DIRTMP)/sphinx_tmpdir/ \
413            $(DIRTMP)/sphinx_tmpdir/latex_output
414        cd $(DIRTMP)/sphinx_tmpdir/latex_output/; make all-pdf
415        cp $(DIRTMP)/sphinx_tmpdir/latex_output/*.pdf \
416           $(DIRWWW_DEV)/pdf/sphinx/
417
418$(DIRTMP)/sphinx_tmpdir/index_manuals.rst :
419        @-mkdir $(DIRTMP)/sphinx_tmpdir/
420        @echo ".. _index_manuals:" > $@
421        @echo " " >> $@
422        @echo "$(PRODUCTNAME) manuals" | tr [:print:] = >> $@
423        @echo "$(PRODUCTNAME) manuals" >> $@
424        @echo "$(PRODUCTNAME) manuals" | tr [:print:] = >> $@
425        @echo " " >> $@
426        @echo ".. only:: html" >> $@
427        @echo " " >> $@
428        @echo "   **Download** offline version (\`.pdf <../../pdf/sphinx/$(PRODUCTNAME).pdf>\`__)" >> $@
429        @echo " " >> $@
430        @echo "Shell scripts" >> $@
431        @echo "Shell scripts" | tr [:print:] = >> $@
432        @echo ".. toctree::" >> $@
433        @echo "   :maxdepth: 1" 1>> $@
434        @echo "   :glob:" 1>> $@
435        @echo " " >> $@
436        @for file in $(LIST_SRCSH); \
437        do \
438           echo "   manuals/$$(basename $${file})"; \
439        done >> $@
440        @echo " " >> $@
441        @echo "IDL scripts" >> $@
442        @echo "IDL scripts" | tr [:print:] = >> $@
443        @echo ".. toctree::" >> $@
444        @echo "   :maxdepth: 1" 1>> $@
445        @echo "   :glob:" 1>> $@
446        @echo " " >> $@
447        @for file in $(LIST_SRCIDL); \
448        do \
449           echo "   $${file}" | sed -e "s/src/manuals/"; \
450        done >> $@
451        @echo " " >> $@
452        @echo "MATLAB scripts" >> $@
453        @echo "MATLAB scripts" | tr [:print:] = >> $@
454        @echo ".. toctree::" >> $@
455        @echo "   :maxdepth: 1" 1>> $@
456        @echo "   :glob:" 1>> $@
457        @echo " " >> $@
458        @for file in $(LIST_SRCMATLAB); \
459        do \
460           echo "   manuals/$$(basename $${file})"; \
461        done >> $@
462        @echo " " >> $@
463        @echo "FERRET scripts" >> $@
464        @echo "FERRET scripts" | tr [:print:] = >> $@
465        @echo ".. toctree::" >> $@
466        @echo "   :maxdepth: 1" 1>> $@
467        @echo "   :glob:" 1>> $@
468        @echo " " >> $@
469        @for file in $(LIST_SRCFERRET); \
470        do \
471           echo "   manuals/$$(basename $${file})"; \
472        done >> $@
473        @echo " " >> $@
474        @echo "ODV scripts" >> $@
475        @echo "ODV scripts" | tr [:print:] = >> $@
476        @echo ".. toctree::" >> $@
477        @echo "   :maxdepth: 1" 1>> $@
478        @echo "   :glob:" 1>> $@
479        @echo " " >> $@
480        @for file in $(LIST_SRCODV); \
481        do \
482           echo "   manuals/$$(basename $${file})"; \
483        done >> $@
484        @echo " " >> $@
485        @echo "PYTHON scripts" >> $@
486        @echo "PYTHON scripts" | tr [:print:] = >> $@
487        @echo ".. toctree::" >> $@
488        @echo "   :maxdepth: 1" 1>> $@
489        @echo "   :glob:" 1>> $@
490        @echo " " >> $@
491        @for file in $(LIST_SRCPYTHON); \
492        do \
493           echo "   .. automodule:: $$(basename $${file})"; \
494        done >> $@
495        @echo "    .. automodule::" 1>> $@
496        @echo "       :members:" 1>> $@
497        @echo " " >> $@
498
499html_src_browser_doxygen : \
500        $(DIRWWW_DEV)/src_browser/doxygen/
501
502$(DIRWWW_DEV)/src_browser/doxygen/ : \
503$(DIRADM)/Doxyfile_$(PRODUCT) \
504$(DIRADM)/m2cpp.pl \
505$(LIST_SRCFORTRAN)
506        @doxygen $<
507        @touch $@
508
509$(DIRTMP)/sphinx_tmpdir/manuals/%.sh.rst : $(DIRSRC)/%.sh $(DIRADM)/extract_rst.sh
510        @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@
511
512$(DIRTMP)/sphinx_tmpdir/manuals/%.pro.rst : $(DIRSRC)/%.pro $(DIRADM)/extract_rst.sh
513        @$(DIRADM)/extract_rst.sh -i $< -l IDL -o $@
514
515$(DIRTMP)/sphinx_tmpdir/manuals/%.m.rst : $(DIRSRC)/test/%.m $(DIRADM)/extract_rst.sh
516        @$(DIRADM)/extract_rst.sh -i $< -l matlab -o $@
517
518$(DIRTMP)/sphinx_tmpdir/manuals/%.jnl.rst : $(DIRSRC)/test/%.jnl  $(DIRADM)/extract_rst.sh
519        @$(DIRADM)/extract_rst.sh -i $< -l ferret -o $@
520
521$(DIRTMP)/sphinx_tmpdir/manuals/%.cmd.rst : $(DIRSRC)/test/%.cmd  $(DIRADM)/extract_rst.sh
522        @$(DIRADM)/extract_rst.sh -i $< -l sh -o $@
523
524$(DIRDESIGN)/images/%.png : $(DIRDESIGN)/images/%.svg
525        @convert $< $@
526
527$(DIRDESIGN)/images/%.svg : $(DIRDESIGN)/%.dot
528        @dot -Tsvg -o $@ $<
529
530$(DIRDESIGN)/$(PRODUCT)_fulldependencies.dot : \
531./makefile
532        @makeppgraph --graphviz --output=$@
Note: See TracBrowser for help on using the repository browser.