COIN-OR::LEMON - Graph Library

source: lemon-main/doc/Makefile.am @ 113:18a7ee8fa56e

Last change on this file since 113:18a7ee8fa56e was 60:6ec5dbed8f18, checked in by Akos Ladanyi <ladanyi@…>, 17 years ago

Reworked documentation generation and installation.
Details:

  • Remove configure flag used to disable the automatic generation of the documentation when istalling.
  • Now 'make html' generates the documentation.
  • Now 'make install' does not install the documentation, 'make install-html' does that. The latter two changes follow newer automake conventions.
  • This also fixes the bug that caused the documentation missing from the tarball.
File size: 1.2 KB
Line 
1EXTRA_DIST += \
2        doc/Makefile \
3        doc/Doxyfile.in \
4        doc/coding_style.dox \
5        doc/dirs.dox \
6        doc/groups.dox \
7        doc/license.dox \
8        doc/mainpage.dox \
9        doc/namespaces.dox \
10        doc/html
11
12doc/html:
13        $(MAKE) $(AM_MAKEFLAGS) html
14
15html-local:
16        if test ${doxygen_found} = yes; then \
17          cd doc; \
18          doxygen Doxyfile; \
19          cd ..; \
20        else \
21          echo; \
22          echo "Doxygen not found."; \
23          echo; \
24          exit 1; \
25        fi
26
27clean-local:
28        -rm -rf doc/html
29        -rm -f doc/doxygen.log
30
31update-external-tags:
32        wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
33        mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
34        rm doc/libstdc++.tag.tmp
35
36install-html-local: doc/html
37        @$(NORMAL_INSTALL)
38        $(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
39        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
40          f="`echo $$p | sed -e 's|^.*/||'`"; \
41          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
42          $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
43        done
44
45uninstall-local:
46        @$(NORMAL_UNINSTALL)
47        for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
48          f="`echo $$p | sed -e 's|^.*/||'`"; \
49          echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
50          rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
51        done
52
53.PHONY: update-external-tags
Note: See TracBrowser for help on using the repository browser.