1 | 1 |
EXTRA_DIST += \ |
2 | 2 |
doc/Doxyfile.in \ |
3 | 3 |
doc/coding_style.dox \ |
4 | 4 |
doc/dirs.dox \ |
5 | 5 |
doc/groups.dox \ |
6 | 6 |
doc/lgf.dox \ |
7 | 7 |
doc/license.dox \ |
8 | 8 |
doc/mainpage.dox \ |
9 |
doc/named-param.dox \ |
|
9 | 10 |
doc/namespaces.dox \ |
10 | 11 |
doc/html \ |
11 | 12 |
doc/CMakeLists.txt |
12 | 13 |
|
13 | 14 |
DOC_EPS_IMAGES18 = \ |
14 | 15 |
nodeshape_0.eps \ |
15 | 16 |
nodeshape_1.eps \ |
16 | 17 |
nodeshape_2.eps \ |
17 | 18 |
nodeshape_3.eps \ |
18 | 19 |
nodeshape_4.eps |
19 | 20 |
|
20 | 21 |
DOC_EPS_IMAGES = \ |
21 | 22 |
$(DOC_EPS_IMAGES18) |
22 | 23 |
|
23 | 24 |
DOC_PNG_IMAGES = \ |
24 | 25 |
$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png) |
25 | 26 |
|
26 | 27 |
EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%) |
27 | 28 |
|
28 | 29 |
doc/html: |
29 | 30 |
$(MAKE) $(AM_MAKEFLAGS) html |
30 | 31 |
|
31 | 32 |
GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 |
32 | 33 |
|
33 | 34 |
$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps |
34 | 35 |
-mkdir doc/gen-images |
35 | 36 |
if test ${gs_found} = yes; then \ |
36 | 37 |
$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \ |
37 | 38 |
else \ |
38 | 39 |
echo; \ |
39 | 40 |
echo "Ghostscript not found."; \ |
40 | 41 |
echo; \ |
41 | 42 |
exit 1; \ |
42 | 43 |
fi |
43 | 44 |
|
44 | 45 |
html-local: $(DOC_PNG_IMAGES) |
45 | 46 |
if test ${doxygen_found} = yes; then \ |
46 | 47 |
cd doc; \ |
47 | 48 |
doxygen Doxyfile; \ |
48 | 49 |
cd ..; \ |
49 | 50 |
else \ |
50 | 51 |
echo; \ |
51 | 52 |
echo "Doxygen not found."; \ |
52 | 53 |
echo; \ |
53 | 54 |
exit 1; \ |
54 | 55 |
fi |
55 | 56 |
|
56 | 57 |
clean-local: |
57 | 58 |
-rm -rf doc/html |
58 | 59 |
-rm -f doc/doxygen.log |
59 | 60 |
-rm -f $(DOC_PNG_IMAGES) |
60 | 61 |
-rm -rf doc/gen-images |
61 | 62 |
|
62 | 63 |
update-external-tags: |
63 | 64 |
wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |
64 | 65 |
mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \ |
65 | 66 |
rm doc/libstdc++.tag.tmp |
66 | 67 |
|
67 | 68 |
install-html-local: doc/html |
68 | 69 |
@$(NORMAL_INSTALL) |
69 | 70 |
$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs |
70 | 71 |
for p in doc/html/*.{html,css,png,map,gif,tag} ; do \ |
71 | 72 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
72 | 73 |
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \ |
73 | 74 |
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \ |
74 | 75 |
done |
75 | 76 |
|
76 | 77 |
uninstall-local: |
77 | 78 |
@$(NORMAL_UNINSTALL) |
78 | 79 |
for p in doc/html/*.{html,css,png,map,gif,tag} ; do \ |
79 | 80 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
80 | 81 |
echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \ |
81 | 82 |
rm -f $(DESTDIR)$(htmldir)/docs/$$f; \ |
82 | 83 |
done |
83 | 84 |
|
84 | 85 |
.PHONY: update-external-tags |
0 comments (0 inline)