COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 278:931190050520

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

Include CMake related files in the tarball.

File size: 1.9 KB
RevLine 
[1]1EXTRA_DIST += \
[60]2        doc/Doxyfile.in \
3        doc/coding_style.dox \
4        doc/dirs.dox \
5        doc/groups.dox \
[156]6        doc/lgf.dox \
[60]7        doc/license.dox \
8        doc/mainpage.dox \
9        doc/namespaces.dox \
[227]10        doc/html \
11        doc/CMakeLists.txt
[1]12
[153]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
[60]28doc/html:
29        $(MAKE) $(AM_MAKEFLAGS) html
30
[153]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)
[1]45        if test ${doxygen_found} = yes; then \
46          cd doc; \
47          doxygen Doxyfile; \
48          cd ..; \
[60]49        else \
50          echo; \
51          echo "Doxygen not found."; \
52          echo; \
53          exit 1; \
[1]54        fi
55
56clean-local:
57        -rm -rf doc/html
58        -rm -f doc/doxygen.log
[153]59        -rm -f $(DOC_PNG_IMAGES)
60        -rm -rf doc/gen-images
[1]61
[56]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
[60]67install-html-local: doc/html
[1]68        @$(NORMAL_INSTALL)
[60]69        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
70        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]71          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]72          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
73          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
[1]74        done
75
[60]76uninstall-local:
[1]77        @$(NORMAL_UNINSTALL)
[60]78        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]79          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]80          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
81          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
[1]82        done
83
[60]84.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.