COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 295:7c796c1cf1b0

Last change on this file since 295:7c796c1cf1b0 was 270:58b0b3c0015e, checked in by Alpar Juttner <alpar@…>, 16 years ago

doc/named-param.dox was missing from doc/Makefile.am

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