source: trunk/adm/makefile @ 52

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

replace TROPFLUX by PROJECT

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