source: trunk/adm/makefile @ 154

Last change on this file since 154 was 148, checked in by pinsard, 12 years ago

associate README.rst to datafiles

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