|
Last change
on this file since 2175:0975cad06c2b was
2127:1d43a276fc26,
checked in by Akos Ladanyi, 19 years ago
|
|
Do not install the documentation if configure was called with --disable-doc.
|
|
File size:
1.7 KB
|
| Rev | Line | |
|---|
| [1671] | 1 | htmldir = $(datadir)/doc/$(PACKAGE)/html |
|---|
| [542] | 2 | |
|---|
| [2108] | 3 | EXTRA_DIST += \ |
|---|
| [2119] | 4 | doc/Makefile \ |
|---|
| [2118] | 5 | doc/Doxyfile.in \ |
|---|
| [2108] | 6 | doc/html \ |
|---|
| 7 | doc/icons/geom/ftv2doc.png \ |
|---|
| 8 | doc/icons/geom/ftv2folderclosed.png \ |
|---|
| 9 | doc/icons/geom/ftv2folderopen.png \ |
|---|
| 10 | doc/coding_style.dox \ |
|---|
| 11 | doc/developers_interface.dox \ |
|---|
| 12 | doc/dirs.dox \ |
|---|
| 13 | doc/getstart.dox \ |
|---|
| 14 | doc/graph-adaptors.dox \ |
|---|
| 15 | doc/graph_io.dox \ |
|---|
| 16 | doc/graphs.dox \ |
|---|
| 17 | doc/groups.dox \ |
|---|
| 18 | doc/license.dox \ |
|---|
| 19 | doc/mainpage.dox \ |
|---|
| 20 | doc/maps.dox \ |
|---|
| 21 | doc/named-param.dox \ |
|---|
| 22 | doc/namespaces.dox \ |
|---|
| 23 | doc/quicktour.dox \ |
|---|
| 24 | doc/ugraphs.dox |
|---|
| [1177] | 25 | |
|---|
| [2108] | 26 | doc: |
|---|
| [1450] | 27 | if test ${doxygen_found} = yes; then \ |
|---|
| [2108] | 28 | cd doc; \ |
|---|
| [1450] | 29 | doxygen Doxyfile; \ |
|---|
| [2108] | 30 | cd ..; \ |
|---|
| 31 | cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
|---|
| [1450] | 32 | fi |
|---|
| [542] | 33 | |
|---|
| [2108] | 34 | doc-clean: |
|---|
| 35 | if test ${doxygen_found} = yes; then \ |
|---|
| 36 | rm -rf doc/html; \ |
|---|
| 37 | rm -f doc/doxygen.log; \ |
|---|
| 38 | cd doc; \ |
|---|
| 39 | doxygen Doxyfile; \ |
|---|
| 40 | cd ..; \ |
|---|
| 41 | cp $(srcdir)/doc/icons/geom/ftv2* doc/html; \ |
|---|
| 42 | fi |
|---|
| [542] | 43 | |
|---|
| 44 | clean-local: |
|---|
| [2108] | 45 | -rm -rf doc/html |
|---|
| 46 | -rm -f doc/doxygen.log |
|---|
| [542] | 47 | |
|---|
| [2108] | 48 | doc/html: |
|---|
| 49 | $(MAKE) $(AM_MAKEFLAGS) doc-clean |
|---|
| 50 | |
|---|
| [2127] | 51 | if WANT_DOC |
|---|
| 52 | |
|---|
| [2108] | 53 | install-data-local: doc/html |
|---|
| [542] | 54 | @$(NORMAL_INSTALL) |
|---|
| 55 | $(mkinstalldirs) $(DESTDIR)$(htmldir) |
|---|
| [2108] | 56 | @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 \ |
|---|
| [542] | 57 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
|---|
| 58 | echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f"; \ |
|---|
| 59 | $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$f; \ |
|---|
| 60 | done |
|---|
| 61 | |
|---|
| [2108] | 62 | uninstall-local: doc/html |
|---|
| [542] | 63 | @$(NORMAL_UNINSTALL) |
|---|
| [2108] | 64 | @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 \ |
|---|
| [542] | 65 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
|---|
| 66 | echo " rm -f $(DESTDIR)$(htmldir)/$$f"; \ |
|---|
| 67 | rm -f $(DESTDIR)$(htmldir)/$$f; \ |
|---|
| 68 | done |
|---|
| [2108] | 69 | |
|---|
| [2127] | 70 | endif WANT_DOC |
|---|
| 71 | |
|---|
| [2108] | 72 | .PHONY: doc doc-clean |
|---|
Note: See
TracBrowser
for help on using the repository browser.