1.1 --- a/doc/Makefile.am Sun Jan 29 22:33:14 2012 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,125 +0,0 @@
1.4 -EXTRA_DIST += \
1.5 - doc/Doxyfile.in \
1.6 - doc/DoxygenLayout.xml \
1.7 - doc/coding_style.dox \
1.8 - doc/dirs.dox \
1.9 - doc/groups.dox \
1.10 - doc/lgf.dox \
1.11 - doc/license.dox \
1.12 - doc/mainpage.dox \
1.13 - doc/migration.dox \
1.14 - doc/min_cost_flow.dox \
1.15 - doc/named-param.dox \
1.16 - doc/namespaces.dox \
1.17 - doc/references.bib \
1.18 - doc/template.h \
1.19 - doc/html \
1.20 - doc/CMakeLists.txt
1.21 -
1.22 -DOC_EPS_IMAGES18 = \
1.23 - grid_graph.eps \
1.24 - nodeshape_0.eps \
1.25 - nodeshape_1.eps \
1.26 - nodeshape_2.eps \
1.27 - nodeshape_3.eps \
1.28 - nodeshape_4.eps
1.29 -
1.30 -DOC_EPS_IMAGES27 = \
1.31 - bipartite_matching.eps \
1.32 - bipartite_partitions.eps \
1.33 - connected_components.eps \
1.34 - edge_biconnected_components.eps \
1.35 - matching.eps \
1.36 - node_biconnected_components.eps \
1.37 - planar.eps \
1.38 - strongly_connected_components.eps
1.39 -
1.40 -DOC_EPS_IMAGES = \
1.41 - $(DOC_EPS_IMAGES18) \
1.42 - $(DOC_EPS_IMAGES27)
1.43 -
1.44 -DOC_PNG_IMAGES = \
1.45 - $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
1.46 -
1.47 -EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
1.48 -
1.49 -doc/html:
1.50 - $(MAKE) $(AM_MAKEFLAGS) html
1.51 -
1.52 -GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
1.53 -
1.54 -$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
1.55 - -mkdir doc/gen-images
1.56 - if test ${gs_found} = yes; then \
1.57 - $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
1.58 - else \
1.59 - echo; \
1.60 - echo "Ghostscript not found."; \
1.61 - echo; \
1.62 - exit 1; \
1.63 - fi
1.64 -
1.65 -$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
1.66 - -mkdir doc/gen-images
1.67 - if test ${gs_found} = yes; then \
1.68 - $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
1.69 - else \
1.70 - echo; \
1.71 - echo "Ghostscript not found."; \
1.72 - echo; \
1.73 - exit 1; \
1.74 - fi
1.75 -
1.76 -references.dox: doc/references.bib
1.77 - if test ${python_found} = yes; then \
1.78 - cd doc; \
1.79 - python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
1.80 - cd ..; \
1.81 - else \
1.82 - echo; \
1.83 - echo "Python not found."; \
1.84 - echo; \
1.85 - exit 1; \
1.86 - fi
1.87 -
1.88 -html-local: $(DOC_PNG_IMAGES) references.dox
1.89 - if test ${doxygen_found} = yes; then \
1.90 - cd doc; \
1.91 - doxygen Doxyfile; \
1.92 - cd ..; \
1.93 - else \
1.94 - echo; \
1.95 - echo "Doxygen not found."; \
1.96 - echo; \
1.97 - exit 1; \
1.98 - fi
1.99 -
1.100 -clean-local:
1.101 - -rm -rf doc/html
1.102 - -rm -f doc/doxygen.log
1.103 - -rm -f $(DOC_PNG_IMAGES)
1.104 - -rm -rf doc/gen-images
1.105 -
1.106 -update-external-tags:
1.107 - wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
1.108 - mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
1.109 - rm doc/libstdc++.tag.tmp
1.110 -
1.111 -install-html-local: doc/html
1.112 - @$(NORMAL_INSTALL)
1.113 - $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
1.114 - for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
1.115 - f="`echo $$p | sed -e 's|^.*/||'`"; \
1.116 - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
1.117 - $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
1.118 - done
1.119 -
1.120 -uninstall-local:
1.121 - @$(NORMAL_UNINSTALL)
1.122 - for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
1.123 - f="`echo $$p | sed -e 's|^.*/||'`"; \
1.124 - echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
1.125 - rm -f $(DESTDIR)$(htmldir)/html/$$f; \
1.126 - done
1.127 -
1.128 -.PHONY: update-external-tags