equal
deleted
inserted
replaced
6 doc/license.dox \ |
6 doc/license.dox \ |
7 doc/mainpage.dox \ |
7 doc/mainpage.dox \ |
8 doc/namespaces.dox \ |
8 doc/namespaces.dox \ |
9 doc/html |
9 doc/html |
10 |
10 |
|
11 DOC_EPS_IMAGES18 = \ |
|
12 nodeshape_0.eps \ |
|
13 nodeshape_1.eps \ |
|
14 nodeshape_2.eps \ |
|
15 nodeshape_3.eps \ |
|
16 nodeshape_4.eps |
|
17 |
|
18 DOC_EPS_IMAGES = \ |
|
19 $(DOC_EPS_IMAGES18) |
|
20 |
|
21 DOC_PNG_IMAGES = \ |
|
22 $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png) |
|
23 |
|
24 EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%) |
|
25 |
11 doc/html: |
26 doc/html: |
12 $(MAKE) $(AM_MAKEFLAGS) html |
27 $(MAKE) $(AM_MAKEFLAGS) html |
13 |
28 |
14 html-local: |
29 GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 |
|
30 |
|
31 $(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps |
|
32 -mkdir doc/gen-images |
|
33 if test ${gs_found} = yes; then \ |
|
34 $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \ |
|
35 else \ |
|
36 echo; \ |
|
37 echo "Ghostscript not found."; \ |
|
38 echo; \ |
|
39 exit 1; \ |
|
40 fi |
|
41 |
|
42 html-local: $(DOC_PNG_IMAGES) |
15 if test ${doxygen_found} = yes; then \ |
43 if test ${doxygen_found} = yes; then \ |
16 cd doc; \ |
44 cd doc; \ |
17 doxygen Doxyfile; \ |
45 doxygen Doxyfile; \ |
18 cd ..; \ |
46 cd ..; \ |
19 else \ |
47 else \ |
24 fi |
52 fi |
25 |
53 |
26 clean-local: |
54 clean-local: |
27 -rm -rf doc/html |
55 -rm -rf doc/html |
28 -rm -f doc/doxygen.log |
56 -rm -f doc/doxygen.log |
|
57 -rm -f $(DOC_PNG_IMAGES) |
|
58 -rm -rf doc/gen-images |
29 |
59 |
30 update-external-tags: |
60 update-external-tags: |
31 wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |
61 wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |
32 mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \ |
62 mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \ |
33 rm doc/libstdc++.tag.tmp |
63 rm doc/libstdc++.tag.tmp |