COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 972:1818cc848005

Last change on this file since 972:1818cc848005 was 967:63fd58460c39, checked in by Alpar Juttner <alpar@…>, 13 years ago

Add missing doc/template.h to release tarball (#432)

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