1.1 --- a/doc/Makefile.am Mon Jan 12 23:11:39 2009 +0100
1.2 +++ b/doc/Makefile.am Thu Nov 05 15:48:01 2009 +0100
1.3 @@ -8,6 +8,7 @@
1.4 doc/license.dox \
1.5 doc/mainpage.dox \
1.6 doc/migration.dox \
1.7 + doc/min_cost_flow.dox \
1.8 doc/named-param.dox \
1.9 doc/namespaces.dox \
1.10 doc/html \
1.11 @@ -21,8 +22,17 @@
1.12 nodeshape_3.eps \
1.13 nodeshape_4.eps
1.14
1.15 +DOC_EPS_IMAGES27 = \
1.16 + bipartite_matching.eps \
1.17 + bipartite_partitions.eps \
1.18 + connected_components.eps \
1.19 + edge_biconnected_components.eps \
1.20 + node_biconnected_components.eps \
1.21 + strongly_connected_components.eps
1.22 +
1.23 DOC_EPS_IMAGES = \
1.24 - $(DOC_EPS_IMAGES18)
1.25 + $(DOC_EPS_IMAGES18) \
1.26 + $(DOC_EPS_IMAGES27)
1.27
1.28 DOC_PNG_IMAGES = \
1.29 $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
1.30 @@ -45,7 +55,30 @@
1.31 exit 1; \
1.32 fi
1.33
1.34 -html-local: $(DOC_PNG_IMAGES)
1.35 +$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
1.36 + -mkdir doc/gen-images
1.37 + if test ${gs_found} = yes; then \
1.38 + $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
1.39 + else \
1.40 + echo; \
1.41 + echo "Ghostscript not found."; \
1.42 + echo; \
1.43 + exit 1; \
1.44 + fi
1.45 +
1.46 +references.dox: doc/references.bib
1.47 + if test ${python_found} = yes; then \
1.48 + cd doc; \
1.49 + python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
1.50 + cd ..; \
1.51 + else \
1.52 + echo; \
1.53 + echo "Python not found."; \
1.54 + echo; \
1.55 + exit 1; \
1.56 + fi
1.57 +
1.58 +html-local: $(DOC_PNG_IMAGES) references.dox
1.59 if test ${doxygen_found} = yes; then \
1.60 cd doc; \
1.61 doxygen Doxyfile; \
1.62 @@ -70,19 +103,19 @@
1.63
1.64 install-html-local: doc/html
1.65 @$(NORMAL_INSTALL)
1.66 - $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
1.67 + $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
1.68 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
1.69 f="`echo $$p | sed -e 's|^.*/||'`"; \
1.70 - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
1.71 - $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
1.72 + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
1.73 + $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
1.74 done
1.75
1.76 uninstall-local:
1.77 @$(NORMAL_UNINSTALL)
1.78 for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
1.79 f="`echo $$p | sed -e 's|^.*/||'`"; \
1.80 - echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
1.81 - rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
1.82 + echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
1.83 + rm -f $(DESTDIR)$(htmldir)/html/$$f; \
1.84 done
1.85
1.86 .PHONY: update-external-tags