COIN-OR::LEMON - Graph Library

source: lemon/doc/Makefile.am @ 154:f4e4dbc1d467

Last change on this file since 154:f4e4dbc1d467 was 154:f4e4dbc1d467, checked in by Alpar Juttner <alpar@…>, 17 years ago

Merge

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