COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 235:b46d2787e9c2

Last change on this file since 235:b46d2787e9c2 was 227:33f8d69e642a, checked in by Akos Ladanyi <ladanyi@…>, 16 years ago

Include CMake related files in the tarball.

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