COIN-OR::LEMON - Graph Library

source: lemon/doc/Makefile.am @ 305:069f27927ba9

Last change on this file since 305:069f27927ba9 was 305:069f27927ba9, checked in by Alpar Juttner <alpar@…>, 11 years ago

0.x -> 1.x migration script and guide (preliminary version) (#157)

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