ladanyi@1
|
1 |
EXTRA_DIST += \
|
ladanyi@60
|
2 |
doc/Doxyfile.in \
|
kpeter@316
|
3 |
doc/DoxygenLayout.xml \
|
ladanyi@60
|
4 |
doc/coding_style.dox \
|
ladanyi@60
|
5 |
doc/dirs.dox \
|
ladanyi@60
|
6 |
doc/groups.dox \
|
alpar@156
|
7 |
doc/lgf.dox \
|
ladanyi@60
|
8 |
doc/license.dox \
|
ladanyi@60
|
9 |
doc/mainpage.dox \
|
kpeter@306
|
10 |
doc/migration.dox \
|
kpeter@663
|
11 |
doc/min_cost_flow.dox \
|
alpar@270
|
12 |
doc/named-param.dox \
|
ladanyi@60
|
13 |
doc/namespaces.dox \
|
ladanyi@227
|
14 |
doc/html \
|
ladanyi@227
|
15 |
doc/CMakeLists.txt
|
ladanyi@1
|
16 |
|
ladanyi@153
|
17 |
DOC_EPS_IMAGES18 = \
|
alpar@587
|
18 |
grid_graph.eps \
|
alpar@587
|
19 |
nodeshape_0.eps \
|
alpar@587
|
20 |
nodeshape_1.eps \
|
alpar@587
|
21 |
nodeshape_2.eps \
|
alpar@587
|
22 |
nodeshape_3.eps \
|
alpar@587
|
23 |
nodeshape_4.eps
|
alpar@587
|
24 |
|
alpar@587
|
25 |
DOC_EPS_IMAGES27 = \
|
kpeter@586
|
26 |
bipartite_matching.eps \
|
kpeter@586
|
27 |
bipartite_partitions.eps \
|
kpeter@586
|
28 |
connected_components.eps \
|
kpeter@586
|
29 |
edge_biconnected_components.eps \
|
alpar@865
|
30 |
matching.eps \
|
kpeter@586
|
31 |
node_biconnected_components.eps \
|
kpeter@827
|
32 |
planar.eps \
|
kpeter@1032
|
33 |
strongly_connected_components.eps \
|
kpeter@1032
|
34 |
tsp.eps
|
ladanyi@153
|
35 |
|
ladanyi@153
|
36 |
DOC_EPS_IMAGES = \
|
alpar@587
|
37 |
$(DOC_EPS_IMAGES18) \
|
alpar@587
|
38 |
$(DOC_EPS_IMAGES27)
|
ladanyi@153
|
39 |
|
ladanyi@153
|
40 |
DOC_PNG_IMAGES = \
|
ladanyi@153
|
41 |
$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
|
ladanyi@153
|
42 |
|
ladanyi@153
|
43 |
EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
|
ladanyi@153
|
44 |
|
ladanyi@60
|
45 |
doc/html:
|
ladanyi@60
|
46 |
$(MAKE) $(AM_MAKEFLAGS) html
|
ladanyi@60
|
47 |
|
ladanyi@153
|
48 |
GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
|
ladanyi@153
|
49 |
|
ladanyi@153
|
50 |
$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
|
ladanyi@153
|
51 |
-mkdir doc/gen-images
|
ladanyi@153
|
52 |
if test ${gs_found} = yes; then \
|
ladanyi@153
|
53 |
$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
|
ladanyi@153
|
54 |
else \
|
ladanyi@153
|
55 |
echo; \
|
ladanyi@153
|
56 |
echo "Ghostscript not found."; \
|
ladanyi@153
|
57 |
echo; \
|
ladanyi@153
|
58 |
exit 1; \
|
ladanyi@153
|
59 |
fi
|
ladanyi@153
|
60 |
|
alpar@587
|
61 |
$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
|
alpar@587
|
62 |
-mkdir doc/gen-images
|
alpar@587
|
63 |
if test ${gs_found} = yes; then \
|
alpar@587
|
64 |
$(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
|
alpar@587
|
65 |
else \
|
alpar@587
|
66 |
echo; \
|
alpar@587
|
67 |
echo "Ghostscript not found."; \
|
alpar@587
|
68 |
echo; \
|
alpar@587
|
69 |
exit 1; \
|
alpar@587
|
70 |
fi
|
alpar@587
|
71 |
|
alpar@744
|
72 |
references.dox: doc/references.bib
|
alpar@744
|
73 |
if test ${python_found} = yes; then \
|
alpar@744
|
74 |
cd doc; \
|
alpar@744
|
75 |
python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
|
alpar@744
|
76 |
cd ..; \
|
alpar@744
|
77 |
else \
|
alpar@744
|
78 |
echo; \
|
alpar@744
|
79 |
echo "Python not found."; \
|
alpar@744
|
80 |
echo; \
|
alpar@744
|
81 |
exit 1; \
|
alpar@744
|
82 |
fi
|
alpar@744
|
83 |
|
alpar@744
|
84 |
html-local: $(DOC_PNG_IMAGES) references.dox
|
ladanyi@1
|
85 |
if test ${doxygen_found} = yes; then \
|
ladanyi@1
|
86 |
cd doc; \
|
ladanyi@1
|
87 |
doxygen Doxyfile; \
|
ladanyi@1
|
88 |
cd ..; \
|
ladanyi@60
|
89 |
else \
|
ladanyi@60
|
90 |
echo; \
|
ladanyi@60
|
91 |
echo "Doxygen not found."; \
|
ladanyi@60
|
92 |
echo; \
|
ladanyi@60
|
93 |
exit 1; \
|
ladanyi@1
|
94 |
fi
|
ladanyi@1
|
95 |
|
ladanyi@1
|
96 |
clean-local:
|
ladanyi@1
|
97 |
-rm -rf doc/html
|
ladanyi@1
|
98 |
-rm -f doc/doxygen.log
|
ladanyi@153
|
99 |
-rm -f $(DOC_PNG_IMAGES)
|
ladanyi@153
|
100 |
-rm -rf doc/gen-images
|
ladanyi@1
|
101 |
|
alpar@56
|
102 |
update-external-tags:
|
alpar@56
|
103 |
wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
|
alpar@56
|
104 |
mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
|
alpar@56
|
105 |
rm doc/libstdc++.tag.tmp
|
alpar@56
|
106 |
|
ladanyi@60
|
107 |
install-html-local: doc/html
|
ladanyi@1
|
108 |
@$(NORMAL_INSTALL)
|
ladanyi@673
|
109 |
$(mkinstalldirs) $(DESTDIR)$(htmldir)/html
|
ladanyi@60
|
110 |
for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
|
ladanyi@1
|
111 |
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
ladanyi@673
|
112 |
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
|
ladanyi@673
|
113 |
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
|
ladanyi@1
|
114 |
done
|
ladanyi@1
|
115 |
|
ladanyi@60
|
116 |
uninstall-local:
|
ladanyi@1
|
117 |
@$(NORMAL_UNINSTALL)
|
ladanyi@60
|
118 |
for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
|
ladanyi@1
|
119 |
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
ladanyi@673
|
120 |
echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
|
ladanyi@673
|
121 |
rm -f $(DESTDIR)$(htmldir)/html/$$f; \
|
ladanyi@1
|
122 |
done
|
ladanyi@1
|
123 |
|
ladanyi@60
|
124 |
.PHONY: update-external-tags
|