COIN-OR::LEMON - Graph Library

source: lemon-1.0/doc/Makefile.am @ 1:51eaad3a817b

Last change on this file since 1:51eaad3a817b was 1:51eaad3a817b, checked in by Akos Ladanyi <ladanyi@…>, 12 years ago

Autotools based build system.

File size: 1.3 KB
Line 
1htmldir = $(datadir)/doc/$(PACKAGE)/html
2
3EXTRA_DIST += \
4        doc/Makefile \
5        doc/Doxyfile.in
6
7doc:
8        if test ${doxygen_found} = yes; then \
9          cd doc; \
10          doxygen Doxyfile; \
11          cd ..; \
12          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
13        fi
14
15doc-clean:
16        if test ${doxygen_found} = yes; then \
17          rm -rf doc/html; \
18          rm -f doc/doxygen.log; \
19          cd doc; \
20          doxygen Doxyfile; \
21          cd ..; \
22          cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \
23        fi
24
25clean-local:
26        -rm -rf doc/html
27        -rm -f doc/doxygen.log
28
29doc/html:
30        $(MAKE) $(AM_MAKEFLAGS) doc-clean
31
32if WANT_DOC
33
34install-data-local: doc/html
35        @$(NORMAL_INSTALL)
36        $(mkinstalldirs) $(DESTDIR)$(htmldir)
37        @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 \
38          f="`echo $$p | sed -e 's|^.*/||'`"; \
39          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \
40          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \
41        done
42
43uninstall-local: doc/html
44        @$(NORMAL_UNINSTALL)
45        @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 \
46          f="`echo $$p | sed -e 's|^.*/||'`"; \
47          echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \
48          rm -f $(DESTDIR)$(htmldir)/$$f; \
49        done
50
51endif WANT_DOC
52
53.PHONY: doc doc-clean
Note: See TracBrowser for help on using the repository browser.