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