COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 1036:dff32ce3db71

Last change on this file since 1036:dff32ce3db71 was 1032:62ba43576f85, checked in by Peter Kovacs <kpeter@…>, 14 years ago

Doc group for TSP algorithms (#386)

File size: 2.9 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 \
[663]11        doc/min_cost_flow.dox \
[270]12        doc/named-param.dox \
[60]13        doc/namespaces.dox \
[227]14        doc/html \
15        doc/CMakeLists.txt
[1]16
[153]17DOC_EPS_IMAGES18 = \
[587]18        grid_graph.eps \
19        nodeshape_0.eps \
20        nodeshape_1.eps \
21        nodeshape_2.eps \
22        nodeshape_3.eps \
23        nodeshape_4.eps
24
25DOC_EPS_IMAGES27 = \
[586]26        bipartite_matching.eps \
27        bipartite_partitions.eps \
28        connected_components.eps \
29        edge_biconnected_components.eps \
[865]30        matching.eps \
[586]31        node_biconnected_components.eps \
[827]32        planar.eps \
[1032]33        strongly_connected_components.eps \
34        tsp.eps
[153]35
36DOC_EPS_IMAGES = \
[587]37        $(DOC_EPS_IMAGES18) \
38        $(DOC_EPS_IMAGES27)
[153]39
40DOC_PNG_IMAGES = \
41        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
42
43EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
44
[60]45doc/html:
46        $(MAKE) $(AM_MAKEFLAGS) html
47
[153]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
[587]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
[744]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
[1]85        if test ${doxygen_found} = yes; then \
86          cd doc; \
87          doxygen Doxyfile; \
88          cd ..; \
[60]89        else \
90          echo; \
91          echo "Doxygen not found."; \
92          echo; \
93          exit 1; \
[1]94        fi
95
96clean-local:
97        -rm -rf doc/html
98        -rm -f doc/doxygen.log
[153]99        -rm -f $(DOC_PNG_IMAGES)
100        -rm -rf doc/gen-images
[1]101
[56]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
[60]107install-html-local: doc/html
[1]108        @$(NORMAL_INSTALL)
[673]109        $(mkinstalldirs) $(DESTDIR)$(htmldir)/html
[60]110        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]111          f="`echo $$p | sed -e 's|^.*/||'`"; \
[673]112          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f"; \
113          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/html/$$f; \
[1]114        done
115
[60]116uninstall-local:
[1]117        @$(NORMAL_UNINSTALL)
[60]118        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]119          f="`echo $$p | sed -e 's|^.*/||'`"; \
[673]120          echo " rm -f $(DESTDIR)$(htmldir)/html/$$f"; \
121          rm -f $(DESTDIR)$(htmldir)/html/$$f; \
[1]122        done
123
[60]124.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.