5 |
26 Feb 03 |
jari |
## $Id$ |
5 |
26 Feb 03 |
jari |
2 |
|
2119 |
12 Dec 09 |
peter |
# Copyright (C) 2003 Jari Häkkinen |
831 |
27 Mar 07 |
peter |
# Copyright (C) 2005 Peter Johansson |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2006 Jari Häkkinen, Peter Johansson |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2007 Peter Johansson |
4359 |
23 Aug 23 |
peter |
# Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
3987 |
26 Aug 20 |
peter |
# Copyright (C) 2009, 2010, 2011, 2012, 2020 Peter Johansson |
675 |
10 Oct 06 |
jari |
9 |
# |
1437 |
25 Aug 08 |
peter |
# This file is part of the yat library, http://dev.thep.lu.se/yat |
675 |
10 Oct 06 |
jari |
11 |
# |
675 |
10 Oct 06 |
jari |
# The yat library is free software; you can redistribute it and/or |
675 |
10 Oct 06 |
jari |
# modify it under the terms of the GNU General Public License as |
1486 |
09 Sep 08 |
jari |
# published by the Free Software Foundation; either version 3 of the |
675 |
10 Oct 06 |
jari |
# License, or (at your option) any later version. |
675 |
10 Oct 06 |
jari |
16 |
# |
675 |
10 Oct 06 |
jari |
# The yat library is distributed in the hope that it will be useful, |
675 |
10 Oct 06 |
jari |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
675 |
10 Oct 06 |
jari |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
675 |
10 Oct 06 |
jari |
# General Public License for more details. |
675 |
10 Oct 06 |
jari |
21 |
# |
675 |
10 Oct 06 |
jari |
# You should have received a copy of the GNU General Public License |
1487 |
10 Sep 08 |
jari |
# along with yat. If not, see <http://www.gnu.org/licenses/>. |
675 |
10 Oct 06 |
jari |
24 |
|
1263 |
08 Apr 08 |
peter |
25 |
|
2739 |
07 Jun 12 |
peter |
26 |
DOXYGEN_FILES = $(srcdir)/doc/build_tool.doxygen \ |
2739 |
07 Jun 12 |
peter |
27 |
$(srcdir)/doc/deprecated.doxygen \ |
2739 |
07 Jun 12 |
peter |
28 |
$(srcdir)/doc/footer.html \ |
2739 |
07 Jun 12 |
peter |
29 |
$(srcdir)/doc/namespaces.doxygen \ |
2739 |
07 Jun 12 |
peter |
30 |
$(srcdir)/doc/concepts.doxygen \ |
2739 |
07 Jun 12 |
peter |
31 |
$(srcdir)/doc/Statistics.doxygen |
1303 |
14 May 08 |
peter |
32 |
|
2739 |
07 Jun 12 |
peter |
33 |
EXTRA_DIST += $(DOXYGEN_FILES) |
1906 |
17 Apr 09 |
peter |
34 |
|
2739 |
07 Jun 12 |
peter |
35 |
DOXYGEN_INPUT += $(DOXYGEN_FILES) |
2739 |
07 Jun 12 |
peter |
36 |
DOXYGEN_INPUT += $(nobase_include_HEADERS) |
2739 |
07 Jun 12 |
peter |
37 |
DOXYGEN_INPUT += $(nobase_nodist_include_HEADERS) |
2744 |
08 Jun 12 |
peter |
38 |
DOXYGEN_INPUT += $(builddir)/doc/first_page.doxygen |
1266 |
09 Apr 08 |
peter |
39 |
|
2739 |
07 Jun 12 |
peter |
40 |
DOXYGEN_DEPS = $(DOXYGEN_INPUT) doc/doxygen.config |
1263 |
08 Apr 08 |
peter |
41 |
|
2750 |
23 Jun 12 |
peter |
42 |
doc: html |
2750 |
23 Jun 12 |
peter |
43 |
|
1998 |
13 Jun 09 |
peter |
44 |
if DX_ENABLE_HTML |
3966 |
11 Aug 20 |
peter |
45 |
html-local: doc/html/index.html |
2853 |
23 Sep 12 |
peter |
46 |
INSTALL_CHECK_TARGETS += installcheck-html |
1998 |
13 Jun 09 |
peter |
47 |
endif |
957 |
09 Oct 07 |
peter |
48 |
|
3968 |
11 Aug 20 |
peter |
49 |
EXTRA_DIST += doc/doxygen.config.in |
3968 |
11 Aug 20 |
peter |
50 |
|
4019 |
06 Nov 20 |
peter |
# config file needs to be updated when $(DOXYGEN_INPUT) is |
4019 |
06 Nov 20 |
peter |
# changed. That variable is set in various Makefile.am, but instead we |
4019 |
06 Nov 20 |
peter |
# depend on Makefile.in, since that dependency is easier to maintain. |
4019 |
06 Nov 20 |
peter |
54 |
doc/doxygen.config: doc/doxygen.config.in $(srcdir)/Makefile.in |
3966 |
11 Aug 20 |
peter |
55 |
$(AM_V_GEN)echo "# $@ generated by make from doc/doxygen.config.in." \ |
3966 |
11 Aug 20 |
peter |
56 |
> $@-t \ |
3966 |
11 Aug 20 |
peter |
57 |
&& $(edit) '$(srcdir)/doc/doxygen.config.in' >> $@-t \ |
3966 |
11 Aug 20 |
peter |
58 |
&& echo "INPUT = $(DOXYGEN_INPUT)" >> $@-t \ |
3966 |
11 Aug 20 |
peter |
59 |
&& mv $@-t $@ |
957 |
09 Oct 07 |
peter |
60 |
|
3966 |
11 Aug 20 |
peter |
61 |
doc/html/index.html: $(DOXYGEN_DEPS) |
3966 |
11 Aug 20 |
peter |
62 |
$(AM_V_GEN)$(DOXYGEN) doc/doxygen.config $(yat_dev_null) |
3966 |
11 Aug 20 |
peter |
63 |
|
3966 |
11 Aug 20 |
peter |
64 |
|
2739 |
07 Jun 12 |
peter |
65 |
install-data-hook: install-html |
1256 |
04 Apr 08 |
peter |
66 |
|
2082 |
19 Oct 09 |
peter |
67 |
installdirs-local: |
2492 |
27 May 11 |
peter |
68 |
test -z "$(DESTDIR)$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"; |
2082 |
19 Oct 09 |
peter |
69 |
|
2082 |
19 Oct 09 |
peter |
# local install rules does not generate any documentation, in order to |
2082 |
19 Oct 09 |
peter |
# follow the recommendation in GCS that `make install' should not |
2082 |
19 Oct 09 |
peter |
# modify/create anything in builddir, proved `make all' has just been |
2082 |
19 Oct 09 |
peter |
# done. This is for the common case that `make all' is issued as one |
2082 |
19 Oct 09 |
peter |
# user and `make install' is issued as, for example, superuser. |
2082 |
19 Oct 09 |
peter |
75 |
|
2045 |
01 Sep 09 |
peter |
76 |
install-html-local: |
2082 |
19 Oct 09 |
peter |
77 |
@$(NORMAL_INSTALL) |
3968 |
11 Aug 20 |
peter |
78 |
@if test -d doc/html; then \ |
2492 |
27 May 11 |
peter |
79 |
test -z "$(DESTDIR)$(htmldir)" || \ |
2492 |
27 May 11 |
peter |
80 |
{ $(MKDIR_P) "$(DESTDIR)$(htmldir)"; \ |
3968 |
11 Aug 20 |
peter |
81 |
$(INSTALL_DATA) doc/html/* $(DESTDIR)$(htmldir); \ |
2492 |
27 May 11 |
peter |
82 |
} \ |
1256 |
04 Apr 08 |
peter |
83 |
fi |
1256 |
04 Apr 08 |
peter |
84 |
|
2491 |
27 May 11 |
peter |
85 |
uninstall-local: |
2491 |
27 May 11 |
peter |
86 |
@$(NORMAL_UNINSTALL) |
2491 |
27 May 11 |
peter |
87 |
rm -rf $(DESTDIR)$(htmldir) |
2491 |
27 May 11 |
peter |
88 |
|
2853 |
23 Sep 12 |
peter |
# check that html has been installed (only activated when DX_ENABLE_HTML) |
2853 |
23 Sep 12 |
peter |
## see ticket #721 |
2853 |
23 Sep 12 |
peter |
91 |
installcheck-html: |
2853 |
23 Sep 12 |
peter |
92 |
$(AM_V_at) test -r "$(DESTDIR)/$(htmldir)/index.html" \ |
2853 |
23 Sep 12 |
peter |
93 |
|| { echo "no documentation installed" 1>&2; exit 1; } |
2853 |
23 Sep 12 |
peter |
94 |
|
3987 |
26 Aug 20 |
peter |
95 |
MOSTLYCLEANFILES += doc/doxygen.config |
2739 |
07 Jun 12 |
peter |
96 |
MOSTLYCLEANFILES += doc/doxygen.error |