doc/Makefile.am
changeset 589 630c4898c548
parent 586 7c12061bd271
child 663 8b0df68370a4
equal deleted inserted replaced
16:5bdb4869a6e8 17:61737abfacdd
    12 	doc/namespaces.dox \
    12 	doc/namespaces.dox \
    13 	doc/html \
    13 	doc/html \
    14 	doc/CMakeLists.txt
    14 	doc/CMakeLists.txt
    15 
    15 
    16 DOC_EPS_IMAGES18 = \
    16 DOC_EPS_IMAGES18 = \
       
    17 	grid_graph.eps \
       
    18 	nodeshape_0.eps \
       
    19 	nodeshape_1.eps \
       
    20 	nodeshape_2.eps \
       
    21 	nodeshape_3.eps \
       
    22 	nodeshape_4.eps
       
    23 
       
    24 DOC_EPS_IMAGES27 = \
    17 	bipartite_matching.eps \
    25 	bipartite_matching.eps \
    18 	bipartite_partitions.eps \
    26 	bipartite_partitions.eps \
    19 	connected_components.eps \
    27 	connected_components.eps \
    20 	edge_biconnected_components.eps \
    28 	edge_biconnected_components.eps \
    21 	grid_graph.eps \
       
    22 	node_biconnected_components.eps \
    29 	node_biconnected_components.eps \
    23 	nodeshape_0.eps \
       
    24 	nodeshape_1.eps \
       
    25 	nodeshape_2.eps \
       
    26 	nodeshape_3.eps \
       
    27 	nodeshape_4.eps \
       
    28 	strongly_connected_components.eps
    30 	strongly_connected_components.eps
    29 
    31 
    30 DOC_EPS_IMAGES = \
    32 DOC_EPS_IMAGES = \
    31 	$(DOC_EPS_IMAGES18)
    33 	$(DOC_EPS_IMAGES18) \
       
    34 	$(DOC_EPS_IMAGES27)
    32 
    35 
    33 DOC_PNG_IMAGES = \
    36 DOC_PNG_IMAGES = \
    34 	$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
    37 	$(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
    35 
    38 
    36 EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
    39 EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
    42 
    45 
    43 $(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
    46 $(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
    44 	-mkdir doc/gen-images
    47 	-mkdir doc/gen-images
    45 	if test ${gs_found} = yes; then \
    48 	if test ${gs_found} = yes; then \
    46 	  $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
    49 	  $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
       
    50 	else \
       
    51 	  echo; \
       
    52 	  echo "Ghostscript not found."; \
       
    53 	  echo; \
       
    54 	  exit 1; \
       
    55 	fi
       
    56 
       
    57 $(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
       
    58 	-mkdir doc/gen-images
       
    59 	if test ${gs_found} = yes; then \
       
    60 	  $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
    47 	else \
    61 	else \
    48 	  echo; \
    62 	  echo; \
    49 	  echo "Ghostscript not found."; \
    63 	  echo "Ghostscript not found."; \
    50 	  echo; \
    64 	  echo; \
    51 	  exit 1; \
    65 	  exit 1; \