doc/Makefile.am
changeset 591 f63e87b9748e
parent 578 7c12061bd271
child 661 8b0df68370a4
     1.1 --- a/doc/Makefile.am	Sat Apr 18 21:54:30 2009 +0200
     1.2 +++ b/doc/Makefile.am	Tue Apr 21 10:34:49 2009 +0100
     1.3 @@ -21,8 +21,17 @@
     1.4  	nodeshape_3.eps \
     1.5  	nodeshape_4.eps
     1.6  
     1.7 +DOC_EPS_IMAGES27 = \
     1.8 +	bipartite_matching.eps \
     1.9 +	bipartite_partitions.eps \
    1.10 +	connected_components.eps \
    1.11 +	edge_biconnected_components.eps \
    1.12 +	node_biconnected_components.eps \
    1.13 +	strongly_connected_components.eps
    1.14 +
    1.15  DOC_EPS_IMAGES = \
    1.16 -	$(DOC_EPS_IMAGES18)
    1.17 +	$(DOC_EPS_IMAGES18) \
    1.18 +	$(DOC_EPS_IMAGES27)
    1.19  
    1.20  DOC_PNG_IMAGES = \
    1.21  	$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
    1.22 @@ -45,6 +54,17 @@
    1.23  	  exit 1; \
    1.24  	fi
    1.25  
    1.26 +$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
    1.27 +	-mkdir doc/gen-images
    1.28 +	if test ${gs_found} = yes; then \
    1.29 +	  $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
    1.30 +	else \
    1.31 +	  echo; \
    1.32 +	  echo "Ghostscript not found."; \
    1.33 +	  echo; \
    1.34 +	  exit 1; \
    1.35 +	fi
    1.36 +
    1.37  html-local: $(DOC_PNG_IMAGES)
    1.38  	if test ${doxygen_found} = yes; then \
    1.39  	  cd doc; \