COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 629:70a356a461a5

Last change on this file since 629:70a356a461a5 was 587:114920bd21ef, checked in by Alpar Juttner <alpar@…>, 16 years ago

Rotate and enlarge some images (#262)

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