COIN-OR::LEMON - Graph Library

Changeset 153:976a014b3797 in lemon-1.2


Ignore:
Timestamp:
04/22/08 18:12:58 (17 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Convert the EPS files to PNG when generating the documentation

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • .hgignore

    r128 r153  
    88*.lo
    99*.tar.*
     10*.bak
    1011Makefile.in
    1112aclocal.m4
     
    2627.deps/*
    2728demo/*.eps
     29doc/images/*.png
    2830
    2931syntax: regexp
  • configure.ac

    r91 r153  
    2828
    2929AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
     30AC_CHECK_PROG([gs_found],[gs],[yes],[no])
    3031
    3132if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
  • doc/Doxyfile.in

    r151 r153  
    102102EXAMPLE_PATTERNS       =
    103103EXAMPLE_RECURSIVE      = NO
    104 IMAGE_PATH             = @abs_top_srcdir@/doc/images
     104IMAGE_PATH             = @abs_top_srcdir@/doc/images \
     105                         @abs_top_builddir@/doc/gen-images
    105106INPUT_FILTER           =
    106107FILTER_PATTERNS        =
  • doc/Makefile.am

    r60 r153  
    1010        doc/html
    1111
     12DOC_EPS_IMAGES18 = \
     13        nodeshape_0.eps \
     14        nodeshape_1.eps \
     15        nodeshape_2.eps \
     16        nodeshape_3.eps \
     17        nodeshape_4.eps
     18
     19DOC_EPS_IMAGES = \
     20        $(DOC_EPS_IMAGES18)
     21
     22DOC_PNG_IMAGES = \
     23        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
     24
     25EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
     26
    1227doc/html:
    1328        $(MAKE) $(AM_MAKEFLAGS) html
    1429
    15 html-local:
     30GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
     31
     32$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
     33        -mkdir doc/gen-images
     34        if test ${gs_found} = yes; then \
     35          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
     36        else \
     37          echo; \
     38          echo "Ghostscript not found."; \
     39          echo; \
     40          exit 1; \
     41        fi
     42
     43html-local: $(DOC_PNG_IMAGES)
    1644        if test ${doxygen_found} = yes; then \
    1745          cd doc; \
     
    2856        -rm -rf doc/html
    2957        -rm -f doc/doxygen.log
     58        -rm -f $(DOC_PNG_IMAGES)
     59        -rm -rf doc/gen-images
    3060
    3161update-external-tags:
Note: See TracChangeset for help on using the changeset viewer.