Backport relevant parts of bugfixes [ad22262328b3], [61fdd06833a6] and [4add05447ca0] to branch 1.2 (#623)
3 doc/DoxygenLayout.xml \
11 doc/min_cost_flow.dox \
28 bipartite_matching.eps \
29 bipartite_partitions.eps \
30 connected_components.eps \
31 edge_biconnected_components.eps \
33 node_biconnected_components.eps \
35 strongly_connected_components.eps
42 $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
44 EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
47 $(MAKE) $(AM_MAKEFLAGS) html
49 GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
51 $(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
53 if test ${gs_found} = yes; then \
54 $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
57 echo "Ghostscript not found."; \
62 $(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
64 if test ${gs_found} = yes; then \
65 $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
68 echo "Ghostscript not found."; \
73 references.dox: doc/references.bib
74 if test ${python_found} = yes; then \
76 python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
80 echo "Python not found."; \
85 html-local: $(DOC_PNG_IMAGES) references.dox
86 if test ${doxygen_found} = yes; then \
92 echo "Doxygen not found."; \
99 -rm -f doc/doxygen.log
100 -rm -f $(DOC_PNG_IMAGES)
101 -rm -rf doc/gen-images
103 update-external-tags:
104 wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
105 mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
106 rm doc/libstdc++.tag.tmp
108 install-html-local: doc/html
110 $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
111 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
112 f="`echo $$p | sed -e 's|^.*/||'`"; \
113 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
114 $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
119 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
120 f="`echo $$p | sed -e 's|^.*/||'`"; \
121 echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
122 rm -f $(DESTDIR)$(htmldir)/html/$$f; \
125 .PHONY: update-external-tags