COIN-OR::LEMON - Graph Library

source: lemon-0.x/doc/Makefile.am

Last change on this file was 2503:15b3bf0141c7, checked in by Alpar Juttner, 12 years ago

Fix a typo that caused the failure of 'make dist'

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/developers.dox \
14        doc/dirs.dox \
15        doc/getstart.dox \
16        doc/graph-adaptors.dox \
17        doc/graph_io.dox \
18        doc/graphs.dox \
19        doc/groups.dox \
20        doc/lemon_file_format.dox \
21        doc/license.dox \
22        doc/mainpage.dox \
23        doc/maps.dox \
24        doc/maps1.dox \
25        doc/maps2.dox \
26        doc/named-param.dox \
27        doc/namespaces.dox \
28        doc/quicktour.dox \
29        doc/read_write_bg.dox \
30        doc/ugraphs.dox
31
32doc:
33        if test ${doxygen_found} = yes; then \
34          cd doc; \
35          doxygen Doxyfile; \
36          cd ..; \
37          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
38        fi
39
40doc-clean:
41        if test ${doxygen_found} = yes; then \
42          rm -rf doc/html; \
43          rm -f doc/doxygen.log; \
44          cd doc; \
45          doxygen Doxyfile; \
46          cd ..; \
47          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
48        fi
49
50clean-local:
51        -rm -rf doc/html
52        -rm -f doc/doxygen.log
53
54doc/html:
55        $(MAKE) $(AM_MAKEFLAGS) doc-clean
56
57if WANT_DOC
58
59install-data-local: doc/html
60        @$(NORMAL_INSTALL)
61        $(mkinstalldirs) $(DESTDIR)$(htmldir)
62        @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 \
63          f="`echo $$p | sed -e 's|^.*/||'`"; \
64          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
65          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
66        done
67
68uninstall-local: doc/html
69        @$(NORMAL_UNINSTALL)
70        @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 \
71          f="`echo $$p | sed -e 's|^.*/||'`"; \
72          echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
73          rm -f $(DESTDIR)$(htmldir)/$$f; \
74        done
75
76endif WANT_DOC
77
78.PHONY: doc doc-clean
Note: See TracBrowser for help on using the repository browser.