COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 324:e05633b02e40

Last change on this file since 324:e05633b02e40 was 317:a0ab96ad65fe, 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        nodeshape_0.eps \
18        nodeshape_1.eps \
19        nodeshape_2.eps \
20        nodeshape_3.eps \
21        nodeshape_4.eps
22
23DOC_EPS_IMAGES = \
24        $(DOC_EPS_IMAGES18)
25
26DOC_PNG_IMAGES = \
27        $(DOC_EPS_IMAGES:%.eps=doc/gen-images/%.png)
28
29EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%)
30
31doc/html:
32        $(MAKE) $(AM_MAKEFLAGS) html
33
34GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
35
36$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps
37        -mkdir doc/gen-images
38        if test ${gs_found} = yes; then \
39          $(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \
40        else \
41          echo; \
42          echo "Ghostscript not found."; \
43          echo; \
44          exit 1; \
45        fi
46
47html-local: $(DOC_PNG_IMAGES)
48        if test ${doxygen_found} = yes; then \
49          cd doc; \
50          doxygen Doxyfile; \
51          cd ..; \
52        else \
53          echo; \
54          echo "Doxygen not found."; \
55          echo; \
56          exit 1; \
57        fi
58
59clean-local:
60        -rm -rf doc/html
61        -rm -f doc/doxygen.log
62        -rm -f $(DOC_PNG_IMAGES)
63        -rm -rf doc/gen-images
64
65update-external-tags:
66        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
67        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
68        rm doc/libstdc++.tag.tmp
69
70install-html-local: doc/html
71        @$(NORMAL_INSTALL)
72        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
73        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
74          f="`echo $$p | sed -e 's|^.*/||'`"; \
75          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
76          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
77        done
78
79uninstall-local:
80        @$(NORMAL_UNINSTALL)
81        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
82          f="`echo $$p | sed -e 's|^.*/||'`"; \
83          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
84          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
85        done
86
87.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.