doc/Makefile.am
changeset 780 580af8cf2f6a
parent 673 e4378da8cfcb
child 827 8131c2b9f59a
     1.1 --- a/doc/Makefile.am	Thu Nov 05 10:01:02 2009 +0100
     1.2 +++ b/doc/Makefile.am	Thu Nov 05 10:23:16 2009 +0100
     1.3 @@ -66,7 +66,19 @@
     1.4  	  exit 1; \
     1.5  	fi
     1.6  
     1.7 -html-local: $(DOC_PNG_IMAGES)
     1.8 +references.dox: doc/references.bib
     1.9 +	if test ${python_found} = yes; then \
    1.10 +	  cd doc; \
    1.11 +	  python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
    1.12 +	  cd ..; \
    1.13 +	else \
    1.14 +	  echo; \
    1.15 +	  echo "Python not found."; \
    1.16 +	  echo; \
    1.17 +	  exit 1; \
    1.18 +	fi
    1.19 +
    1.20 +html-local: $(DOC_PNG_IMAGES) references.dox
    1.21  	if test ${doxygen_found} = yes; then \
    1.22  	  cd doc; \
    1.23  	  doxygen Doxyfile; \