COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 948:f9e3f73e17f1

Last change on this file since 948:f9e3f73e17f1 was 865:d48d79b11f5b, checked in by Alpar Juttner <alpar@…>, 15 years ago

Replace figure at matching doc #348

The original bibartite_matching.eps is kept for future use.

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