doc/Makefile.am
changeset 1095 ad40f7d32846
parent 969 cfdbf1574403
     1.1 --- a/doc/Makefile.am	Fri Aug 09 11:07:27 2013 +0200
     1.2 +++ b/doc/Makefile.am	Sun Aug 11 15:28:12 2013 +0200
     1.3 @@ -11,6 +11,7 @@
     1.4  	doc/min_cost_flow.dox \
     1.5  	doc/named-param.dox \
     1.6  	doc/namespaces.dox \
     1.7 +	doc/references.bib \
     1.8  	doc/template.h \
     1.9  	doc/html \
    1.10  	doc/CMakeLists.txt
    1.11 @@ -28,7 +29,9 @@
    1.12  	bipartite_partitions.eps \
    1.13  	connected_components.eps \
    1.14  	edge_biconnected_components.eps \
    1.15 +	matching.eps \
    1.16  	node_biconnected_components.eps \
    1.17 +	planar.eps \
    1.18  	strongly_connected_components.eps
    1.19  
    1.20  DOC_EPS_IMAGES = \
    1.21 @@ -67,7 +70,19 @@
    1.22  	  exit 1; \
    1.23  	fi
    1.24  
    1.25 -html-local: $(DOC_PNG_IMAGES)
    1.26 +references.dox: doc/references.bib
    1.27 +	if test ${python_found} = yes; then \
    1.28 +	  cd doc; \
    1.29 +	  python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
    1.30 +	  cd ..; \
    1.31 +	else \
    1.32 +	  echo; \
    1.33 +	  echo "Python not found."; \
    1.34 +	  echo; \
    1.35 +	  exit 1; \
    1.36 +	fi
    1.37 +
    1.38 +html-local: $(DOC_PNG_IMAGES) references.dox
    1.39  	if test ${doxygen_found} = yes; then \
    1.40  	  cd doc; \
    1.41  	  doxygen Doxyfile; \