3 doc/DoxygenLayout.xml \
11 doc/min_cost_flow.dox \
26 bipartite_matching.eps \
27 bipartite_partitions.eps \
28 connected_components.eps \
29 edge_biconnected_components.eps \
31 node_biconnected_components.eps \
33 strongly_connected_components.eps
40 $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
42 EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
45 $(MAKE) $(AM_MAKEFLAGS) html
47 GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
49 $(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
51 if test ${gs_found} = yes; then \
52 $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
55 echo "Ghostscript not found."; \
60 $(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
62 if test ${gs_found} = yes; then \
63 $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
66 echo "Ghostscript not found."; \
71 references.dox: doc/references.bib
72 if test ${python_found} = yes; then \
74 python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
78 echo "Python not found."; \
83 html-local: $(DOC_PNG_IMAGES) references.dox
84 if test ${doxygen_found} = yes; then \
90 echo "Doxygen not found."; \
97 -rm -f doc/doxygen.log
98 -rm -f $(DOC_PNG_IMAGES)
99 -rm -rf doc/gen-images
101 update-external-tags:
102 wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
103 mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
104 rm doc/libstdc++.tag.tmp
106 install-html-local: doc/html
108 $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
109 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
110 f="`echo $$p | sed -e 's|^.*/||'`"; \
111 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
112 $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
117 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
118 f="`echo $$p | sed -e 's|^.*/||'`"; \
119 echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
120 rm -f $(DESTDIR)$(htmldir)/html/$$f; \
123 .PHONY: update-external-tags