COIN-OR::LEMON - Graph Library

source: lemon-0.x/doc/Makefile.am @ 2350:eb371753e814

Last change on this file since 2350:eb371753e814 was 2216:1e45cdeea3cc, checked in by Alpar Juttner, 18 years ago

The recent progresses on the tutorial due to Mark.

File size: 1.8 KB
Line 
1htmldir = $(datadir)/doc/$(PACKAGE)/html
2
3EXTRA_DIST += \
4        doc/Makefile \
5        doc/Doxyfile.in \
6        doc/html \
7        doc/icons/geom/ftv2doc.png \
8        doc/icons/geom/ftv2folderclosed.png \
9        doc/icons/geom/ftv2folderopen.png \
10        doc/algorithms.dox \
11        doc/coding_style.dox \
12        doc/developers_interface.dox \
13        doc/dirs.dox \
14        doc/getstart.dox \
15        doc/graph-adaptors.dox \
16        doc/graph_io.dox \
17        doc/graphs.dox \
18        doc/groups.dox \
19        doc/lemon_file_format.dox \
20        doc/license.dox \
21        doc/mainpage.dox \
22        doc/maps.dox \
23        doc/maps1.dox \
24        doc/maps2.dox \
25        doc/named-param.dox \
26        doc/namespaces.dox \
27        doc/quicktour.dox \
28        doc/read_write_bg.dox \
29        doc/ugraphs.dox
30
31doc:
32        if test ${doxygen_found} = yes; then \
33          cd doc; \
34          doxygen Doxyfile; \
35          cd ..; \
36          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
37        fi
38
39doc-clean:
40        if test ${doxygen_found} = yes; then \
41          rm -rf doc/html; \
42          rm -f doc/doxygen.log; \
43          cd doc; \
44          doxygen Doxyfile; \
45          cd ..; \
46          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
47        fi
48
49clean-local:
50        -rm -rf doc/html
51        -rm -f doc/doxygen.log
52
53doc/html:
54        $(MAKE) $(AM_MAKEFLAGS) doc-clean
55
56if WANT_DOC
57
58install-data-local: doc/html
59        @$(NORMAL_INSTALL)
60        $(mkinstalldirs) $(DESTDIR)$(htmldir)
61        @dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
62          f="`echo $$p | sed -e 's|^.*/||'`"; \
63          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
64          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
65        done
66
67uninstall-local: doc/html
68        @$(NORMAL_UNINSTALL)
69        @dir='doc/html'; shopt -s nullglob; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot $$dir/*.php $$dir/*.idx $$dir/*.tag ; do \
70          f="`echo $$p | sed -e 's|^.*/||'`"; \
71          echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
72          rm -f $(DESTDIR)$(htmldir)/$$f; \
73        done
74
75endif WANT_DOC
76
77.PHONY: doc doc-clean
Note: See TracBrowser for help on using the repository browser.