COIN-OR::LEMON - Graph Library

source: lemon-1.1/doc/Makefile.am @ 318:1e2d6ca80793

Last change on this file since 318:1e2d6ca80793 was 317:a0ab96ad65fe, checked in by Alpar Juttner <alpar@…>, 16 years ago

Merge

File size: 2.0 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 \
[270]11        doc/named-param.dox \
[60]12        doc/namespaces.dox \
[227]13        doc/html \
14        doc/CMakeLists.txt
[1]15
[153]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
[60]31doc/html:
32        $(MAKE) $(AM_MAKEFLAGS) html
33
[153]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)
[1]48        if test ${doxygen_found} = yes; then \
49          cd doc; \
50          doxygen Doxyfile; \
51          cd ..; \
[60]52        else \
53          echo; \
54          echo "Doxygen not found."; \
55          echo; \
56          exit 1; \
[1]57        fi
58
59clean-local:
60        -rm -rf doc/html
61        -rm -f doc/doxygen.log
[153]62        -rm -f $(DOC_PNG_IMAGES)
63        -rm -rf doc/gen-images
[1]64
[56]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
[60]70install-html-local: doc/html
[1]71        @$(NORMAL_INSTALL)
[60]72        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
73        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]74          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]75          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
76          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
[1]77        done
78
[60]79uninstall-local:
[1]80        @$(NORMAL_UNINSTALL)
[60]81        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]82          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]83          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
84          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
[1]85        done
86
[60]87.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.