COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 586:7c12061bd271

Last change on this file since 586:7c12061bd271 was 586:7c12061bd271, checked in by Peter Kovacs <kpeter@…>, 15 years ago

Add images + fixes in the doc of connectivity tools (#262)

File size: 2.2 KB
RevLine 
[1]1EXTRA_DIST += \
[60]2        doc/Doxyfile.in \
[316]3        doc/DoxygenLayout.xml \
[60]4        doc/coding_style.dox \
5        doc/dirs.dox \
6        doc/groups.dox \
[156]7        doc/lgf.dox \
[60]8        doc/license.dox \
9        doc/mainpage.dox \
[306]10        doc/migration.dox \
[270]11        doc/named-param.dox \
[60]12        doc/namespaces.dox \
[227]13        doc/html \
14        doc/CMakeLists.txt
[1]15
[153]16DOC_EPS_IMAGES18 = \
[586]17        bipartite_matching.eps \
18        bipartite_partitions.eps \
19        connected_components.eps \
20        edge_biconnected_components.eps \
[335]21        grid_graph.eps \
[586]22        node_biconnected_components.eps \
[153]23        nodeshape_0.eps \
24        nodeshape_1.eps \
25        nodeshape_2.eps \
26        nodeshape_3.eps \
[586]27        nodeshape_4.eps \
28        strongly_connected_components.eps
[153]29
30DOC_EPS_IMAGES = \
31        $(DOC_EPS_IMAGES18)
32
33DOC_PNG_IMAGES = \
34        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
35
36EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
37
[60]38doc/html:
39        $(MAKE) $(AM_MAKEFLAGS) html
40
[153]41GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
42
43$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
44        -mkdir doc/gen-images
45        if test ${gs_found} = yes; then \
46          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
47        else \
48          echo; \
49          echo "Ghostscript not found."; \
50          echo; \
51          exit 1; \
52        fi
53
54html-local: $(DOC_PNG_IMAGES)
[1]55        if test ${doxygen_found} = yes; then \
56          cd doc; \
57          doxygen Doxyfile; \
58          cd ..; \
[60]59        else \
60          echo; \
61          echo "Doxygen not found."; \
62          echo; \
63          exit 1; \
[1]64        fi
65
66clean-local:
67        -rm -rf doc/html
68        -rm -f doc/doxygen.log
[153]69        -rm -f $(DOC_PNG_IMAGES)
70        -rm -rf doc/gen-images
[1]71
[56]72update-external-tags:
73        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
74        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
75        rm doc/libstdc++.tag.tmp
76
[60]77install-html-local: doc/html
[1]78        @$(NORMAL_INSTALL)
[60]79        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
80        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]81          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]82          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
83          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
[1]84        done
85
[60]86uninstall-local:
[1]87        @$(NORMAL_UNINSTALL)
[60]88        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]89          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]90          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
91          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
[1]92        done
93
[60]94.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.