COIN-OR::LEMON - Graph Library

source: lemon/doc/Makefile.am @ 633:7c12061bd271

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

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

File size: 2.2 KB
Line 
1EXTRA_DIST += \
2        doc/Doxyfile.in \
3        doc/DoxygenLayout.xml \
4        doc/coding_style.dox \
5        doc/dirs.dox \
6        doc/groups.dox \
7        doc/lgf.dox \
8        doc/license.dox \
9        doc/mainpage.dox \
10        doc/migration.dox \
11        doc/named-param.dox \
12        doc/namespaces.dox \
13        doc/html \
14        doc/CMakeLists.txt
15
16DOC_EPS_IMAGES18 = \
17        bipartite_matching.eps \
18        bipartite_partitions.eps \
19        connected_components.eps \
20        edge_biconnected_components.eps \
21        grid_graph.eps \
22        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
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
38doc/html:
39        $(MAKE) $(AM_MAKEFLAGS) html
40
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)
55        if test ${doxygen_found} = yes; then \
56          cd doc; \
57          doxygen Doxyfile; \
58          cd ..; \
59        else \
60          echo; \
61          echo "Doxygen not found."; \
62          echo; \
63          exit 1; \
64        fi
65
66clean-local:
67        -rm -rf doc/html
68        -rm -f doc/doxygen.log
69        -rm -f $(DOC_PNG_IMAGES)
70        -rm -rf doc/gen-images
71
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
77install-html-local: doc/html
78        @$(NORMAL_INSTALL)
79        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
80        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
81          f="`echo $$p | sed -e 's|^.*/||'`"; \
82          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
83          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
84        done
85
86uninstall-local:
87        @$(NORMAL_UNINSTALL)
88        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
89          f="`echo $$p | sed -e 's|^.*/||'`"; \
90          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
91          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
92        done
93
94.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.