source: trunk/doc/Makefile.am @ 2632

Last change on this file since 2632 was 2631, checked in by Peter, 10 years ago

correct rules for silent make doc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 2631 2011-11-09 02:47:35Z peter $
4
5# Copyright (C) 2003 Jari Häkkinen
6# Copyright (C) 2005 Peter Johansson
7# Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
8# Copyright (C) 2009, 2010, 2011 Peter Johansson
9#
10# This file is part of the yat library, http://dev.thep.lu.se/yat
11#
12# The yat library is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License as
14# published by the Free Software Foundation; either version 3 of the
15# License, or (at your option) any later version.
16#
17# The yat library is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with yat. If not, see <http://www.gnu.org/licenses/>.
24
25
26DOXYGEN_FILES = $(srcdir)/build_tool.doxygen \
27$(builddir)/first_page.doxygen \
28$(srcdir)/deprecated.doxygen \
29$(srcdir)/footer.html \
30$(srcdir)/namespaces.doxygen \
31$(srcdir)/concepts.doxygen \
32$(srcdir)/Statistics.doxygen
33
34EXTRA_DIST = $(DOXYGEN_FILES)
35
36@am__include@ @am__quote@./$(top_builddir)/yat/classifier/doxygen.mk@am__quote@
37@am__include@ @am__quote@./$(top_builddir)/yat/normalizer/doxygen.mk@am__quote@
38@am__include@ @am__quote@./$(top_builddir)/yat/omic/doxygen.mk@am__quote@
39@am__include@ @am__quote@./$(top_builddir)/yat/random/doxygen.mk@am__quote@
40@am__include@ @am__quote@./$(top_builddir)/yat/regression/doxygen.mk@am__quote@
41@am__include@ @am__quote@./$(top_builddir)/yat/statistics/doxygen.mk@am__quote@
42@am__include@ @am__quote@./$(top_builddir)/yat/utility/doxygen.mk@am__quote@
43
44DOXYGEN_INPUT=$(yat_classifier_doxygen_input) \
45$(yat_normalizer_doxygen_input) \
46$(yat_omic_doxygen_input) \
47$(yat_random_doxygen_input) \
48$(yat_regression_doxygen_input) \
49$(yat_statistics_doxygen_input) \
50$(yat_utility_doxygen_input) \
51$(DOXYGEN_FILES)
52
53DOXYGEN_DEPS = $(DOXYGEN_INPUT) doxygen.config \
54$(top_builddir)/yat/classifier/doxygen.mk \
55$(top_builddir)/yat/normalizer/doxygen.mk \
56$(top_builddir)/yat/omic/doxygen.mk \
57$(top_builddir)/yat/random/doxygen.mk \
58$(top_builddir)/yat/regression/doxygen.mk \
59$(top_builddir)/yat/statistics/doxygen.mk \
60$(top_builddir)/yat/utility/doxygen.mk
61
62doc: html
63
64
65# these are supported by automake and *-local will add target to *
66if DX_ENABLE_HTML
67html-local: $(DX_HTML_OUTPUT)/index.html
68endif
69
70dx_dev_null = $(dx_dev_null_$(V))
71dx_dev_null_ = $(dx_dev_null_$(AM_DEFAULT_VERBOSITY))
72dx_dev_null_0 = > /dev/null
73
74$(DX_HTML_OUTPUT)/index.html: $(DOXYGEN_DEPS)
75  $(AM_V_GEN)
76  $(AM_V_at){ cat doxygen.config && echo "INPUT = $(DOXYGEN_INPUT)" && \
77  echo GENERATE_HTML = YES; } | $(DOXYGEN) - $(dx_dev_null);
78
79install-data-hook:
80  @$(NORMAL_INSTALL)
81  @$(MAKE) $(AM_MAKEFLAGS) install-html
82
83installdirs-local:
84  test -z "$(DESTDIR)$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)";
85
86# local install rules does not generate any documentation, in order to
87# follow the recommendation in GCS that `make install' should not
88# modify/create anything in builddir, proved `make all' has just been
89# done. This is for the common case that `make all' is issued as one
90# user and `make install' is issued as, for example, superuser.
91
92install-html-local:
93  @$(NORMAL_INSTALL)
94  @if test -d $(DX_HTML_OUTPUT); then \
95    test -z "$(DESTDIR)$(htmldir)" || \
96    { $(MKDIR_P) "$(DESTDIR)$(htmldir)"; \
97      $(INSTALL_DATA) $(DX_HTML_OUTPUT)/* $(DESTDIR)$(htmldir); \
98    } \
99  fi
100
101uninstall-local:
102  @$(NORMAL_UNINSTALL)
103  rm -rf $(DESTDIR)$(htmldir)
104
105mostlyclean-local:
106  rm -f doxygen.error *~
107
108clean-local:
109  rm -rf $(DX_HTML_OUTPUT)
110
111FORCE:
Note: See TracBrowser for help on using the repository browser.