COIN-OR::LEMON - Graph Library

source: lemon/doc/Makefile.am @ 1114:cfdbf1574403

Last change on this file since 1114:cfdbf1574403 was 1114:cfdbf1574403, checked in by Alpar Juttner <alpar@…>, 12 years ago

Merge

File size: 2.9 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/min_cost_flow.dox \
12        doc/named-param.dox \
13        doc/namespaces.dox \
14        doc/template.h \
15        doc/html \
16        doc/CMakeLists.txt
17
18DOC_EPS_IMAGES18 = \
19        grid_graph.eps \
20        nodeshape_0.eps \
21        nodeshape_1.eps \
22        nodeshape_2.eps \
23        nodeshape_3.eps \
24        nodeshape_4.eps
25
26DOC_EPS_IMAGES27 = \
27        bipartite_matching.eps \
28        bipartite_partitions.eps \
29        connected_components.eps \
30        edge_biconnected_components.eps \
31        matching.eps \
32        node_biconnected_components.eps \
33        planar.eps \
34        strongly_connected_components.eps
35
36DOC_EPS_IMAGES = \
37        $(DOC_EPS_IMAGES18) \
38        $(DOC_EPS_IMAGES27)
39
40DOC_PNG_IMAGES = \
41        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
42
43EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
44
45doc/html:
46        $(MAKE) $(AM_MAKEFLAGS) html
47
48GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
49
50$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
51        -mkdir doc/gen-images
52        if test ${gs_found} = yes; then \
53          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
54        else \
55          echo; \
56          echo "Ghostscript not found."; \
57          echo; \
58          exit 1; \
59        fi
60
61$(DOC_EPS_IMAGES27:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
62        -mkdir doc/gen-images
63        if test ${gs_found} = yes; then \
64          $(GS_COMMAND) -sDEVICE=pngalpha -r27 -sOutputFile=$@ $<; \
65        else \
66          echo; \
67          echo "Ghostscript not found."; \
68          echo; \
69          exit 1; \
70        fi
71
72references.dox: doc/references.bib
73        if test ${python_found} = yes; then \
74          cd doc; \
75          python @abs_top_srcdir@/scripts/bib2dox.py @abs_top_builddir@/$< >$@; \
76          cd ..; \
77        else \
78          echo; \
79          echo "Python not found."; \
80          echo; \
81          exit 1; \
82        fi
83
84html-local: $(DOC_PNG_IMAGES) references.dox
85        if test ${doxygen_found} = yes; then \
86          cd doc; \
87          doxygen Doxyfile; \
88          cd ..; \
89        else \
90          echo; \
91          echo "Doxygen not found."; \
92          echo; \
93          exit 1; \
94        fi
95
96clean-local:
97        -rm -rf doc/html
98        -rm -f doc/doxygen.log
99        -rm -f $(DOC_PNG_IMAGES)
100        -rm -rf doc/gen-images
101
102update-external-tags:
103        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
104        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
105        rm doc/libstdc++.tag.tmp
106
107install-html-local: doc/html
108        @$(NORMAL_INSTALL)
109        $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
110        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
111          f="`echo $$p | sed -e 's|^.*/||'`"; \
112          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
113          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
114        done
115
116uninstall-local:
117        @$(NORMAL_UNINSTALL)
118        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
119          f="`echo $$p | sed -e 's|^.*/||'`"; \
120          echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
121          rm -f $(DESTDIR)$(htmldir)/html/$$f; \
122        done
123
124.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.