COIN-OR::LEMON - Graph Library

Ticket #79: external-build.patch

File external-build.patch, 1.6 KB (added by Alpar Juttner, 11 years ago)

Fix external doc build

  • doc/Doxyfile.in

    Fix external doc build
    
    diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
    a b  
    101101                         @abs_top_srcdir@/doc
    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/images
    105106INPUT_FILTER           =
    106107FILTER_PATTERNS        =
    107108FILTER_SOURCE_FILES    = NO
  • doc/Makefile.am

    diff --git a/doc/Makefile.am b/doc/Makefile.am
    a b  
    77        doc/license.dox \
    88        doc/mainpage.dox \
    99        doc/namespaces.dox \
    10         doc/images \
    1110        doc/html
     11
     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/images/%.png)
     24
     25EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
    1226
    1327doc/html:
    1428        $(MAKE) $(AM_MAKEFLAGS) html
    1529
    1630GS_COMMAND=gs -sDEVICE=png16m -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
    1731
    18 NODESHAPE_IMAGES = \
    19         doc/images/nodeshape_0.png \
    20         doc/images/nodeshape_1.png \
    21         doc/images/nodeshape_2.png \
    22         doc/images/nodeshape_3.png \
    23         doc/images/nodeshape_4.png
    24 
    25 $(NODESHAPE_IMAGES): %.png: %.eps
    26         -mkdir doc/images
     32$(DOC_EPS_IMAGES18:%.eps=doc/images/%.png): %.png: %.eps
     33        -mkdir -p doc/images
    2734        if test ${gs_found} = yes; then \
    2835          $(GS_COMMAND) -r18 -sOutputFile=$@ $<; \
    2936        else \
     
    3340          exit 1; \
    3441        fi
    3542
    36 html-local: $(NODESHAPE_IMAGES)
     43html-local: $(DOC_PNG_IMAGES)
    3744        if test ${doxygen_found} = yes; then \
    3845          cd doc; \
    3946          doxygen Doxyfile; \