]> git.tdb.fi Git - ext/sigc++-2.0.git/blob - docs/Makefile.am
Import libsigc++ 2.10.8 sources
[ext/sigc++-2.0.git] / docs / Makefile.am
1 ## Copyright (c) 2009  Openismus GmbH  <http://www.openismus.com/>
2 ##
3 ## This file is part of libsigc++.
4 ##
5 ## libsigc++ is free software: you can redistribute it and/or modify it
6 ## under the terms of the GNU Lesser General Public License as published
7 ## by the Free Software Foundation, either version 2.1 of the License,
8 ## or (at your option) any later version.
9 ##
10 ## libsigc++ is distributed in the hope that it will be useful, but
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 ## See the GNU Lesser General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU Lesser General Public License
16 ## along with this library.  If not, see <http://www.gnu.org/licenses/>.
17
18 include $(top_srcdir)/sigc++/filelist.am
19
20 book_name = libsigc++-$(SIGCXX_API_VERSION)
21
22 # For each header file, test whether it exists in the build directory.
23 # If it does, return its relative path.  Otherwise, assume the file is
24 # present in the source directory and return the relative path to that
25 # location.
26 libsigc_h = $(sigc_public_h) $(sigc_built_h)
27 vp_select = $(or $(wildcard $(top_builddir)/sigc++/$(file)),$(top_srcdir)/sigc++/$(file))
28 vp_search = $(foreach file,$(libsigc_h),$(vp_select))
29 doc_input = $(if $(srcdir:.=),$(vp_search),$(addprefix $(top_builddir)/sigc++/,$(libsigc_h))) \
30             $(top_srcdir)/sigc++/sigc++.h
31
32 include $(top_srcdir)/build/doc-reference.am
33
34 doc_imagesdir = $(libdocdir)/images
35 dist_libdoc_DATA = index.html
36 dist_doc_images_DATA = images/libsigc_logo.gif images/top.gif
37
38 dist_noinst_DATA += doc-install.pl doc-postprocess.pl doxygen.css tagfile-to-devhelp2.xsl
39
40 include $(srcdir)/doc-manual.am