COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 783:ef88c0a30f85

Last change on this file since 783:ef88c0a30f85 was 744:f8c468367dab, checked in by Alpar Juttner <alpar@…>, 15 years ago

Integrate bib2dox.py into the build environments (#184)

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