COIN-OR::LEMON - Graph Library

source: lemon-0.x/doc/Makefile.am @ 2118:54350d5c316a

Last change on this file since 2118:54350d5c316a was 2118:54350d5c316a, checked in by Akos Ladanyi, 14 years ago

Distribute Doxyfile.in and lemon.pc.in.

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