Bump to libsigc++ 2.10.7
[platform/upstream/libsigc++.git] / docs / doc-manual.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 DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
19
20 html_tutorialdir = $(libdocdir)/tutorial/html
21 dist_html_tutorial_DATA = $(sort manual/html/index.html $(call vpath_listall,manual/html/*.html))
22
23 dist_noinst_DATA += manual/README manual/libsigc_manual.xml
24
25 DISTCLEANFILES += $(addprefix manual/libsigc_manual.,dvi pdf ps)
26 MAINTAINERCLEANFILES += manual/html/*
27
28 manual_srcfile = $(srcdir)/manual/libsigc_manual.xml
29
30 # Make sure that the documentation will always have been generated before
31 # executing the commands of a rule that depends on files in reference/html/.
32 reference/html/%: | manual/html/index.html
33
34 manual/html/index.html: $(manual_srcfile)
35         -$(AM_V_at)rm -f manual/html/*
36         $(AM_V_at)$(MKDIR_P) manual/html
37         $(AM_V_GEN)xsltproc -o manual/html/ --catalogs '$(DOCBOOK_STYLESHEET)' $(manual_srcfile)
38
39 manual/libsigc_manual.dvi: $(manual_srcfile)
40         $(AM_V_GEN)db2dvi -o manual $(manual_srcfile)
41
42 manual/libsigc_manual.pdf: $(manual_srcfile)
43         $(AM_V_GEN)db2pdf -o manual $(manual_srcfile)
44
45 manual/libsigc_manual.ps: $(manual_srcfile)
46         $(AM_V_GEN)db2ps -o manual $(manual_srcfile)