1 | ## Process this file with automake to produce Makefile.in |
---|
2 | ## |
---|
3 | ## $Id: Makefile.am 2507 2011-07-08 12:11:20Z 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 | |
---|
26 | DOXYGEN_FILES = $(srcdir)/build_tool.doxygen \ |
---|
27 | $(builddir)/first_page.doxygen \ |
---|
28 | $(srcdir)/footer.html \ |
---|
29 | $(srcdir)/namespaces.doxygen \ |
---|
30 | $(srcdir)/concepts.doxygen \ |
---|
31 | $(srcdir)/Statistics.doxygen |
---|
32 | |
---|
33 | EXTRA_DIST = $(DOXYGEN_FILES) |
---|
34 | |
---|
35 | @am__include@ @am__quote@./$(top_builddir)/yat/classifier/doxygen.mk@am__quote@ |
---|
36 | @am__include@ @am__quote@./$(top_builddir)/yat/normalizer/doxygen.mk@am__quote@ |
---|
37 | @am__include@ @am__quote@./$(top_builddir)/yat/omic/doxygen.mk@am__quote@ |
---|
38 | @am__include@ @am__quote@./$(top_builddir)/yat/random/doxygen.mk@am__quote@ |
---|
39 | @am__include@ @am__quote@./$(top_builddir)/yat/regression/doxygen.mk@am__quote@ |
---|
40 | @am__include@ @am__quote@./$(top_builddir)/yat/statistics/doxygen.mk@am__quote@ |
---|
41 | @am__include@ @am__quote@./$(top_builddir)/yat/utility/doxygen.mk@am__quote@ |
---|
42 | |
---|
43 | DOXYGEN_INPUT=$(yat_classifier_doxygen_input) \ |
---|
44 | $(yat_normalizer_doxygen_input) \ |
---|
45 | $(yat_omic_doxygen_input) \ |
---|
46 | $(yat_random_doxygen_input) \ |
---|
47 | $(yat_regression_doxygen_input) \ |
---|
48 | $(yat_statistics_doxygen_input) \ |
---|
49 | $(yat_utility_doxygen_input) \ |
---|
50 | $(DOXYGEN_FILES) |
---|
51 | |
---|
52 | DOXYGEN_DEPS = $(DOXYGEN_INPUT) doxygen.config \ |
---|
53 | $(top_builddir)/yat/classifier/doxygen.mk \ |
---|
54 | $(top_builddir)/yat/normalizer/doxygen.mk \ |
---|
55 | $(top_builddir)/yat/random/doxygen.mk \ |
---|
56 | $(top_builddir)/yat/regression/doxygen.mk \ |
---|
57 | $(top_builddir)/yat/statistics/doxygen.mk \ |
---|
58 | $(top_builddir)/yat/utility/doxygen.mk |
---|
59 | |
---|
60 | doc: html |
---|
61 | |
---|
62 | |
---|
63 | # these are supported by automake and *-local will add target to * |
---|
64 | if DX_ENABLE_HTML |
---|
65 | html-local: $(DX_HTML_OUTPUT)/index.html |
---|
66 | endif |
---|
67 | |
---|
68 | $(DX_HTML_OUTPUT)/index.html: $(DOXYGEN_DEPS) |
---|
69 | @(cat doxygen.config && echo "INPUT = $(DOXYGEN_INPUT)" && \ |
---|
70 | echo GENERATE_HTML = YES) | $(DOXYGEN) -; |
---|
71 | |
---|
72 | install-data-hook: |
---|
73 | @$(NORMAL_INSTALL) |
---|
74 | @$(MAKE) $(AM_MAKEFLAGS) install-html |
---|
75 | |
---|
76 | uninstall-hook: |
---|
77 | @$(NORMAL_UNINSTALL) |
---|
78 | rm -rf $(DESTDIR)$(htmldir)/html |
---|
79 | |
---|
80 | installdirs-local: |
---|
81 | for dir in $(htmldir)/html; do \ |
---|
82 | test -z "$(DESTDIR)$$dir" || $(MKDIR_P) "$(DESTDIR)$$dir"; \ |
---|
83 | done |
---|
84 | |
---|
85 | # local install rules does not generate any documentation, in order to |
---|
86 | # follow the recommendation in GCS that `make install' should not |
---|
87 | # modify/create anything in builddir, proved `make all' has just been |
---|
88 | # done. This is for the common case that `make all' is issued as one |
---|
89 | # user and `make install' is issued as, for example, superuser. |
---|
90 | |
---|
91 | install-html-local: |
---|
92 | @$(NORMAL_INSTALL) |
---|
93 | @if test -d $(DX_HTML_OUTPUT); then \ |
---|
94 | echo "$(MKDIR_P) $(DESTDIR)$(htmldir)/html"; \ |
---|
95 | $(MKDIR_P) $(DESTDIR)$(htmldir)/html;\ |
---|
96 | echo "$(INSTALL_DATA) $(DX_HTML_OUTPUT)/* $(DESTDIR)$(htmldir)/html"; \ |
---|
97 | $(INSTALL_DATA) $(DX_HTML_OUTPUT)/* $(DESTDIR)$(htmldir)/html; \ |
---|
98 | fi |
---|
99 | |
---|
100 | mostlyclean-local: |
---|
101 | rm -f doxygen.error *~ |
---|
102 | |
---|
103 | clean-local: |
---|
104 | rm -rf $(DX_HTML_OUTPUT) |
---|
105 | |
---|
106 | FORCE: |
---|