source: trunk/adm/makefile @ 58

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

distinct data_out doc for dev. and user

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