COIN-OR::LEMON - Graph Library

source: lemon/doc/Makefile.am @ 363:91e68d590e61

Last change on this file since 363:91e68d590e61 was 349:560e4b6d020d, checked in by Alpar Juttner <alpar@…>, 16 years ago

Merge

File size: 2.0 KB
Line 
1EXTRA_DIST += \
2        doc/Doxyfile.in \
3        doc/DoxygenLayout.xml \
4        doc/coding_style.dox \
5        doc/dirs.dox \
6        doc/groups.dox \
7        doc/lgf.dox \
8        doc/license.dox \
9        doc/mainpage.dox \
10        doc/migration.dox \
11        doc/named-param.dox \
12        doc/namespaces.dox \
13        doc/html \
14        doc/CMakeLists.txt
15
16DOC_EPS_IMAGES18 = \
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_IMAGES = \
25        $(DOC_EPS_IMAGES18)
26
27DOC_PNG_IMAGES = \
28        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
29
30EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
31
32doc/html:
33        $(MAKE) $(AM_MAKEFLAGS) html
34
35GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
36
37$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
38        -mkdir doc/gen-images
39        if test ${gs_found} = yes; then \
40          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
41        else \
42          echo; \
43          echo "Ghostscript not found."; \
44          echo; \
45          exit 1; \
46        fi
47
48html-local: $(DOC_PNG_IMAGES)
49        if test ${doxygen_found} = yes; then \
50          cd doc; \
51          doxygen Doxyfile; \
52          cd ..; \
53        else \
54          echo; \
55          echo "Doxygen not found."; \
56          echo; \
57          exit 1; \
58        fi
59
60clean-local:
61        -rm -rf doc/html
62        -rm -f doc/doxygen.log
63        -rm -f $(DOC_PNG_IMAGES)
64        -rm -rf doc/gen-images
65
66update-external-tags:
67        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
68        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
69        rm doc/libstdc++.tag.tmp
70
71install-html-local: doc/html
72        @$(NORMAL_INSTALL)
73        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
74        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
75          f="`echo $$p | sed -e 's|^.*/||'`"; \
76          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
77          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
78        done
79
80uninstall-local:
81        @$(NORMAL_UNINSTALL)
82        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
83          f="`echo $$p | sed -e 's|^.*/||'`"; \
84          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
85          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
86        done
87
88.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.