COIN-OR::LEMON - Graph Library

source: lemon-1.1/doc/Makefile.am @ 545:b779c4dc7496

Last change on this file since 545:b779c4dc7496 was 337:560e4b6d020d, 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 = \
[335]17        grid_graph.eps \
[153]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
[60]32doc/html:
33        $(MAKE) $(AM_MAKEFLAGS) html
34
[153]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)
[1]49        if test ${doxygen_found} = yes; then \
50          cd doc; \
51          doxygen Doxyfile; \
52          cd ..; \
[60]53        else \
54          echo; \
55          echo "Doxygen not found."; \
56          echo; \
57          exit 1; \
[1]58        fi
59
60clean-local:
61        -rm -rf doc/html
62        -rm -f doc/doxygen.log
[153]63        -rm -f $(DOC_PNG_IMAGES)
64        -rm -rf doc/gen-images
[1]65
[56]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
[60]71install-html-local: doc/html
[1]72        @$(NORMAL_INSTALL)
[60]73        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
74        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]75          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]76          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
77          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
[1]78        done
79
[60]80uninstall-local:
[1]81        @$(NORMAL_UNINSTALL)
[60]82        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
[1]83          f="`echo $$p | sed -e 's|^.*/||'`"; \
[60]84          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
85          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
[1]86        done
87
[60]88.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.