~ubuntu-branches/ubuntu/jaunty/gnome-applets/jaunty

« back to all changes in this revision

Viewing changes to invest-applet/docs/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-06-03 18:13:41 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20080603181341-j2ldywy9g983scl2
Tags: 2.23.2-0ubuntu1
* New upstream version
* Sync on Debian
* debian/control.in:
  - build using liboobs and not type-handling and libcpufreq-dev
  - Pre-Depends: dpkg (>= 1.10.24)
  - updated maintainer information
* debian/patches/04_applets_categories.patch:
  - set applets categories
* debian/patches/13_battstat_measuring_more_appropriate.patch:
  - workaround acpi bug
* debian/patches/14_battstat_enable_pmi.patch:
  - use the pmi interface to know if suspend is available
* debian/patches/81_mixer_mute_callback.patch:
  - stop the mixer applet from randomly muting when the volume is adjusted.
* debian/patches/98_autoreconf.patch:
  - run autotools update
* debian/rules:
  - DEB_DH_BUILDDEB_ARGS := -- -Zbzip2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.10.1 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
 
 
17
# gnome-doc-utils.make - make magic for building documentation
 
18
# Copyright (C) 2004-2005 Shaun McCance <shaunm@gnome.org>
 
19
#
 
20
# This program is free software; you can redistribute it and/or modify
 
21
# it under the terms of the GNU General Public License as published by
 
22
# the Free Software Foundation; either version 2 of the License, or
 
23
# (at your option) any later version.
 
24
#
 
25
# This program is distributed in the hope that it will be useful,
 
26
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
27
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
28
# GNU General Public License for more details.
 
29
#
 
30
# You should have received a copy of the GNU General Public License
 
31
# along with this program; if not, write to the Free Software Foundation,
 
32
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
33
#
 
34
# As a special exception to the GNU General Public License, if you
 
35
# distribute this file as part of a program that contains a
 
36
# configuration script generated by Autoconf, you may include it under
 
37
# the same distribution terms that you use for the rest of that program.
 
38
 
 
39
################################################################################
 
40
VPATH = @srcdir@
 
41
pkglibdir = $(libdir)/@PACKAGE@
 
42
pkgincludedir = $(includedir)/@PACKAGE@
 
43
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
44
install_sh_DATA = $(install_sh) -c -m 644
 
45
install_sh_PROGRAM = $(install_sh) -c
 
46
install_sh_SCRIPT = $(install_sh) -c
 
47
INSTALL_HEADER = $(INSTALL_DATA)
 
48
transform = $(program_transform_name)
 
49
NORMAL_INSTALL = :
 
50
PRE_INSTALL = :
 
51
POST_INSTALL = :
 
52
NORMAL_UNINSTALL = :
 
53
PRE_UNINSTALL = :
 
54
POST_UNINSTALL = :
 
55
build_triplet = @build@
 
56
host_triplet = @host@
 
57
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
58
        $(top_srcdir)/gnome-doc-utils.make
 
59
subdir = invest-applet/docs
 
60
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
61
am__aclocal_m4_deps = $(top_srcdir)/m4/ac-define-dir.m4 \
 
62
        $(top_srcdir)/m4/acinclude.m4 \
 
63
        $(top_srcdir)/m4/gnome-doc-utils.m4 \
 
64
        $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
 
65
        $(top_srcdir)/configure.in
 
66
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
67
        $(ACLOCAL_M4)
 
68
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
69
CONFIG_HEADER = $(top_builddir)/config.h
 
70
CONFIG_CLEAN_FILES =
 
71
SOURCES =
 
72
DIST_SOURCES =
 
73
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
74
pkgdatadir = @pkgdatadir@
 
75
ACLOCAL = @ACLOCAL@
 
76
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 
77
ACPIINC = @ACPIINC@
 
78
ALL_LINGUAS = @ALL_LINGUAS@
 
79
AMTAR = @AMTAR@
 
80
AR = @AR@
 
81
AUTOCONF = @AUTOCONF@
 
82
AUTOHEADER = @AUTOHEADER@
 
83
AUTOMAKE = @AUTOMAKE@
 
84
AWK = @AWK@
 
85
BUILDERDIR = @BUILDERDIR@
 
86
CATALOGS = @CATALOGS@
 
87
CATOBJEXT = @CATOBJEXT@
 
88
CC = @CC@
 
89
CCDEPMODE = @CCDEPMODE@
 
90
CFLAGS = @CFLAGS@
 
91
CPP = @CPP@
 
92
CPPFLAGS = @CPPFLAGS@
 
93
CPUFREQ_SELECTOR_CFLAGS = @CPUFREQ_SELECTOR_CFLAGS@
 
94
CPUFREQ_SELECTOR_LIBS = @CPUFREQ_SELECTOR_LIBS@
 
95
CXX = @CXX@
 
96
CXXCPP = @CXXCPP@
 
97
CXXDEPMODE = @CXXDEPMODE@
 
98
CXXFLAGS = @CXXFLAGS@
 
99
CYGPATH_W = @CYGPATH_W@
 
100
DATADIR = @DATADIR@
 
101
DATADIRNAME = @DATADIRNAME@
 
102
DBUS_CFLAGS = @DBUS_CFLAGS@
 
103
DBUS_LIBS = @DBUS_LIBS@
 
104
DEFS = @DEFS@
 
105
DEPDIR = @DEPDIR@
 
106
DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
 
107
DOC_USER_FORMATS = @DOC_USER_FORMATS@
 
108
DSYMUTIL = @DSYMUTIL@
 
109
ECHO = @ECHO@
 
110
ECHO_C = @ECHO_C@
 
111
ECHO_N = @ECHO_N@
 
112
ECHO_T = @ECHO_T@
 
113
EGREP = @EGREP@
 
114
EXEEXT = @EXEEXT@
 
115
F77 = @F77@
 
116
FFLAGS = @FFLAGS@
 
117
GAILUTIL_CFLAGS = @GAILUTIL_CFLAGS@
 
118
GAILUTIL_LIBS = @GAILUTIL_LIBS@
 
119
GCONFTOOL = @GCONFTOOL@
 
120
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
 
121
GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
 
122
GDK_PIXBUF_CSOURCE = @GDK_PIXBUF_CSOURCE@
 
123
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 
124
GIO_CFLAGS = @GIO_CFLAGS@
 
125
GIO_LIBS = @GIO_LIBS@
 
126
GIT_CFLAGS = @GIT_CFLAGS@
 
127
GIT_LIBS = @GIT_LIBS@
 
128
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
 
129
GMOFILES = @GMOFILES@
 
130
GMSGFMT = @GMSGFMT@
 
131
GNOMEDESKTOP_CFLAGS = @GNOMEDESKTOP_CFLAGS@
 
132
GNOMEDESKTOP_LIBS = @GNOMEDESKTOP_LIBS@
 
133
GNOMELOCALEDIR = @GNOMELOCALEDIR@
 
134
GNOME_APPLETS_CFLAGS = @GNOME_APPLETS_CFLAGS@
 
135
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
 
136
GNOME_ICONDIR = @GNOME_ICONDIR@
 
137
GNOME_LIBS2_CFLAGS = @GNOME_LIBS2_CFLAGS@
 
138
GNOME_LIBS2_LIBS = @GNOME_LIBS2_LIBS@
 
139
GNOME_PIXMAPSDIR = @GNOME_PIXMAPSDIR@
 
140
GNOME_SETTINGS_DAEMON_CFLAGS = @GNOME_SETTINGS_DAEMON_CFLAGS@
 
141
GNOME_SETTINGS_DAEMON_LIBS = @GNOME_SETTINGS_DAEMON_LIBS@
 
142
GNOME_VFS_APPLETS_CFLAGS = @GNOME_VFS_APPLETS_CFLAGS@
 
143
GNOME_VFS_APPLETS_LIBS = @GNOME_VFS_APPLETS_LIBS@
 
144
GREP = @GREP@
 
145
GTK_BUILDERDIR = @GTK_BUILDERDIR@
 
146
GTK_CFLAGS = @GTK_CFLAGS@
 
147
GTK_FLAGS = @GTK_FLAGS@
 
148
GTK_LIBS = @GTK_LIBS@
 
149
GTOP_APPLETS_CFLAGS = @GTOP_APPLETS_CFLAGS@
 
150
GTOP_APPLETS_LIBS = @GTOP_APPLETS_LIBS@
 
151
GUCHARMAP2_CFLAGS = @GUCHARMAP2_CFLAGS@
 
152
GUCHARMAP2_LIBS = @GUCHARMAP2_LIBS@
 
153
GUCHARMAP_CFLAGS = @GUCHARMAP_CFLAGS@
 
154
GUCHARMAP_LIBS = @GUCHARMAP_LIBS@
 
155
HAL_CFLAGS = @HAL_CFLAGS@
 
156
HAL_LIBS = @HAL_LIBS@
 
157
HAVE_JW = @HAVE_JW@
 
158
HAVE_LIBAPM = @HAVE_LIBAPM@
 
159
HAVE_XKB = @HAVE_XKB@
 
160
HELP_DIR = @HELP_DIR@
 
161
INSTALL = @INSTALL@
 
162
INSTALL_DATA = @INSTALL_DATA@
 
163
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
164
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
165
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
166
INSTOBJEXT = @INSTOBJEXT@
 
167
INTLLIBS = @INTLLIBS@
 
168
INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
 
169
INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
 
170
INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
 
171
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 
172
INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
 
173
INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
 
174
INTLTOOL_MERGE = @INTLTOOL_MERGE@
 
175
INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
 
176
INTLTOOL_PERL = @INTLTOOL_PERL@
 
177
INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
 
178
INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
 
179
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
 
180
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
 
181
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
 
182
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
 
183
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
 
184
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
 
185
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
 
186
INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
 
187
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
 
188
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
 
189
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 
190
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 
191
JW = @JW@
 
192
LDFLAGS = @LDFLAGS@
 
193
LIBCPUFREQ_LIBS = @LIBCPUFREQ_LIBS@
 
194
LIBDIR = @LIBDIR@
 
195
LIBGNOMEKBDUI_CFLAGS = @LIBGNOMEKBDUI_CFLAGS@
 
196
LIBGNOMEKBDUI_LIBS = @LIBGNOMEKBDUI_LIBS@
 
197
LIBGWEATHER_CFLAGS = @LIBGWEATHER_CFLAGS@
 
198
LIBGWEATHER_LIBS = @LIBGWEATHER_LIBS@
 
199
LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
 
200
LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
 
201
LIBOBJS = @LIBOBJS@
 
202
LIBS = @LIBS@
 
203
LIBTOOL = @LIBTOOL@
 
204
LIBWNCK_CFLAGS = @LIBWNCK_CFLAGS@
 
205
LIBWNCK_LIBS = @LIBWNCK_LIBS@
 
206
LN_S = @LN_S@
 
207
LTLIBOBJS = @LTLIBOBJS@
 
208
MAINT = @MAINT@
 
209
MAKEINFO = @MAKEINFO@
 
210
MIXER_CFLAGS = @MIXER_CFLAGS@
 
211
MIXER_LIBS = @MIXER_LIBS@
 
212
MKDIR_P = @MKDIR_P@
 
213
MKINSTALLDIRS = @MKINSTALLDIRS@
 
214
MODEMLIGHTS_LIBS = @MODEMLIGHTS_LIBS@
 
215
MSGFMT = @MSGFMT@
 
216
MSGFMT_OPTS = @MSGFMT_OPTS@
 
217
MSGMERGE = @MSGMERGE@
 
218
NEED_LIBAPM = @NEED_LIBAPM@
 
219
NMEDIT = @NMEDIT@
 
220
OBJEXT = @OBJEXT@
 
221
OMF_DIR = @OMF_DIR@
 
222
PACKAGE = @PACKAGE@
 
223
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
224
PACKAGE_NAME = @PACKAGE_NAME@
 
225
PACKAGE_STRING = @PACKAGE_STRING@
 
226
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
227
PACKAGE_VERSION = @PACKAGE_VERSION@
 
228
PATH_SEPARATOR = @PATH_SEPARATOR@
 
229
PKG_CONFIG = @PKG_CONFIG@
 
230
POFILES = @POFILES@
 
231
POSUB = @POSUB@
 
232
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
 
233
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
 
234
PREFIX = @PREFIX@
 
235
PYGTK_CFLAGS = @PYGTK_CFLAGS@
 
236
PYGTK_LIBS = @PYGTK_LIBS@
 
237
PYTHON = @PYTHON@
 
238
PYTHONDIR = @PYTHONDIR@
 
239
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
 
240
PYTHON_INCLUDES = @PYTHON_INCLUDES@
 
241
PYTHON_PLATFORM = @PYTHON_PLATFORM@
 
242
PYTHON_PREFIX = @PYTHON_PREFIX@
 
243
PYTHON_VERSION = @PYTHON_VERSION@
 
244
RANLIB = @RANLIB@
 
245
SCROLLKEEPER_CONFIG = @SCROLLKEEPER_CONFIG@
 
246
SCROLLKEEPER_REQUIRED = @SCROLLKEEPER_REQUIRED@
 
247
SED = @SED@
 
248
SET_MAKE = @SET_MAKE@
 
249
SHELL = @SHELL@
 
250
STRIP = @STRIP@
 
251
SU_TOOL = @SU_TOOL@
 
252
SYSCONFDIR = @SYSCONFDIR@
 
253
USE_NLS = @USE_NLS@
 
254
VERSION = @VERSION@
 
255
WARN_CFLAGS = @WARN_CFLAGS@
 
256
XGETTEXT = @XGETTEXT@
 
257
XMKMF = @XMKMF@
 
258
XML2_CFLAGS = @XML2_CFLAGS@
 
259
XML2_LIBS = @XML2_LIBS@
 
260
XSLTPROC = @XSLTPROC@
 
261
X_CFLAGS = @X_CFLAGS@
 
262
X_EXTRA_LIBS = @X_EXTRA_LIBS@
 
263
X_LIBS = @X_LIBS@
 
264
X_PRE_LIBS = @X_PRE_LIBS@
 
265
abs_builddir = @abs_builddir@
 
266
abs_srcdir = @abs_srcdir@
 
267
abs_top_builddir = @abs_top_builddir@
 
268
abs_top_srcdir = @abs_top_srcdir@
 
269
ac_ct_CC = @ac_ct_CC@
 
270
ac_ct_CXX = @ac_ct_CXX@
 
271
ac_ct_F77 = @ac_ct_F77@
 
272
am__include = @am__include@
 
273
am__leading_dot = @am__leading_dot@
 
274
am__quote = @am__quote@
 
275
am__tar = @am__tar@
 
276
am__untar = @am__untar@
 
277
bindir = @bindir@
 
278
build = @build@
 
279
build_alias = @build_alias@
 
280
build_cpu = @build_cpu@
 
281
build_os = @build_os@
 
282
build_vendor = @build_vendor@
 
283
builddir = @builddir@
 
284
builderdir = @builderdir@
 
285
datadir = @datadir@
 
286
datarootdir = @datarootdir@
 
287
docdir = @docdir@
 
288
dvidir = @dvidir@
 
289
exec_prefix = @exec_prefix@
 
290
gnomelocaledir = @gnomelocaledir@
 
291
host = @host@
 
292
host_alias = @host_alias@
 
293
host_cpu = @host_cpu@
 
294
host_os = @host_os@
 
295
host_vendor = @host_vendor@
 
296
htmldir = @htmldir@
 
297
iconsdir = @iconsdir@
 
298
includedir = @includedir@
 
299
infodir = @infodir@
 
300
install_sh = @install_sh@
 
301
libdir = @libdir@
 
302
libexecdir = @libexecdir@
 
303
localedir = @localedir@
 
304
localstatedir = @localstatedir@
 
305
mandir = @mandir@
 
306
mkdir_p = @mkdir_p@
 
307
oldincludedir = @oldincludedir@
 
308
pdfdir = @pdfdir@
 
309
pixmapsdir = @pixmapsdir@
 
310
pkgpyexecdir = @pkgpyexecdir@
 
311
pkgpythondir = @pkgpythondir@
 
312
prefix = @prefix@
 
313
program_transform_name = @program_transform_name@
 
314
psdir = @psdir@
 
315
pyexecdir = @pyexecdir@
 
316
pythondir = @pythondir@
 
317
sbindir = @sbindir@
 
318
sharedstatedir = @sharedstatedir@
 
319
srcdir = @srcdir@
 
320
sysconfdir = @sysconfdir@
 
321
target_alias = @target_alias@
 
322
top_builddir = @top_builddir@
 
323
top_srcdir = @top_srcdir@
 
324
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
 
325
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
 
326
_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),               \
 
327
        $(filter $(LINGUAS),$(DOC_LINGUAS)),                                    \
 
328
        $(DOC_LINGUAS))
 
329
 
 
330
_DOC_ABS_SRCDIR = @abs_srcdir@
 
331
@ENABLE_SK_TRUE@_ENABLE_SK = true
 
332
 
 
333
################################################################################
 
334
db2omf_args = \
 
335
        --stringparam db2omf.basename $(DOC_MODULE)                             \
 
336
        --stringparam db2omf.format $(3)                                        \
 
337
        --stringparam db2omf.dtd                                                \
 
338
        $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1              \
 
339
                | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/')                     \
 
340
        --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
 
341
        --stringparam db2omf.omf_dir "$(OMF_DIR)"                               \
 
342
        --stringparam db2omf.help_dir "$(HELP_DIR)"                             \
 
343
        --stringparam db2omf.omf_in "$(_DOC_OMF_IN)"                            \
 
344
        $(if $(_ENABLE_SK),                                                     \
 
345
          --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)")            \
 
346
        $(_db2omf) $(2)
 
347
 
 
348
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
 
349
_DOC_OMF_DB = $(if $(_DOC_OMF_IN),                                              \
 
350
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
 
351
 
 
352
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN),                                            \
 
353
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
 
354
 
 
355
 
 
356
# FIXME
 
357
_DOC_OMF_ALL = \
 
358
        $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB))             \
 
359
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
 
360
 
 
361
 
 
362
################################################################################
 
363
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
 
364
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
 
365
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
 
366
_DOC_C_DOCS = \
 
367
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
 
368
        $(_DOC_C_MODULE)
 
369
 
 
370
_DOC_C_DOCS_NOENT = \
 
371
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)
 
372
 
 
373
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
 
374
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
 
375
        $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
 
376
 
 
377
 
 
378
# FIXME: probably have to shell escape to determine the file names
 
379
_DOC_C_HTML = $(foreach f,                                              \
 
380
        $(shell xsltproc --xinclude                                     \
 
381
          --stringparam db.chunk.basename "$(DOC_MODULE)"               \
 
382
          $(_chunks) "C/$(DOC_MODULE).xml"),                            \
 
383
        C/$(f).xhtml)
 
384
 
 
385
 
 
386
###############################################################################
 
387
_DOC_POFILES = $(if $(DOC_MODULE),                                              \
 
388
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
 
389
 
 
390
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
 
391
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
 
392
 
 
393
_DOC_LC_INCLUDES = \
 
394
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
 
395
                $(lc)/$(notdir $(inc)) ))
 
396
 
 
397
 
 
398
# FIXME: probably have to shell escape to determine the file names
 
399
_DOC_LC_HTML = \
 
400
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML),         \
 
401
                $(lc)/$(notdir $(doc)) ))
 
402
 
 
403
_DOC_LC_DOCS = \
 
404
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                             \
 
405
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
 
406
 
 
407
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
 
408
        $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
 
409
 
 
410
_DOC_SRC_FIGURES = \
 
411
        $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS),   \
 
412
                $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
 
413
 
 
414
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot)
 
415
 
 
416
################################################################################
 
417
_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
 
418
        $(_DOC_C_HTML) $(_DOC_LC_HTML))
 
419
 
 
420
_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
 
421
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
 
422
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
 
423
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
 
424
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
 
425
DOC_MODULE = invest-applet
 
426
DOC_ENTITIES = legal.xml
 
427
DOC_FIGURES = 
 
428
DOC_LINGUAS = es
 
429
all: all-am
 
430
 
 
431
.SUFFIXES:
 
432
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
 
433
        @for dep in $?; do \
 
434
          case '$(am__configure_deps)' in \
 
435
            *$$dep*) \
 
436
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
437
                && exit 0; \
 
438
              exit 1;; \
 
439
          esac; \
 
440
        done; \
 
441
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  invest-applet/docs/Makefile'; \
 
442
        cd $(top_srcdir) && \
 
443
          $(AUTOMAKE) --gnu  invest-applet/docs/Makefile
 
444
.PRECIOUS: Makefile
 
445
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
446
        @case '$?' in \
 
447
          *config.status*) \
 
448
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
449
          *) \
 
450
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
451
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
452
        esac;
 
453
 
 
454
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
455
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
456
 
 
457
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
458
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
459
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
460
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
461
 
 
462
mostlyclean-libtool:
 
463
        -rm -f *.lo
 
464
 
 
465
clean-libtool:
 
466
        -rm -rf .libs _libs
 
467
tags: TAGS
 
468
TAGS:
 
469
 
 
470
ctags: CTAGS
 
471
CTAGS:
 
472
 
 
473
 
 
474
distdir: $(DISTFILES)
 
475
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
476
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
477
        list='$(DISTFILES)'; \
 
478
          dist_files=`for file in $$list; do echo $$file; done | \
 
479
          sed -e "s|^$$srcdirstrip/||;t" \
 
480
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
481
        case $$dist_files in \
 
482
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
483
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
484
                           sort -u` ;; \
 
485
        esac; \
 
486
        for file in $$dist_files; do \
 
487
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
488
          if test -d $$d/$$file; then \
 
489
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
490
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
491
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
492
            fi; \
 
493
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
494
          else \
 
495
            test -f $(distdir)/$$file \
 
496
            || cp -p $$d/$$file $(distdir)/$$file \
 
497
            || exit 1; \
 
498
          fi; \
 
499
        done
 
500
        $(MAKE) $(AM_MAKEFLAGS) \
 
501
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
502
          dist-hook
 
503
check-am: all-am
 
504
check: check-am
 
505
all-am: Makefile
 
506
installdirs:
 
507
install: install-am
 
508
install-exec: install-exec-am
 
509
install-data: install-data-am
 
510
uninstall: uninstall-am
 
511
 
 
512
install-am: all-am
 
513
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
514
 
 
515
installcheck: installcheck-am
 
516
install-strip:
 
517
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
518
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
519
          `test -z '$(STRIP)' || \
 
520
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
521
mostlyclean-generic:
 
522
 
 
523
clean-generic:
 
524
 
 
525
distclean-generic:
 
526
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
527
 
 
528
maintainer-clean-generic:
 
529
        @echo "This command is intended for maintainers to use"
 
530
        @echo "it deletes files that may require special tools to rebuild."
 
531
clean: clean-am
 
532
 
 
533
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
534
 
 
535
distclean: distclean-am
 
536
        -rm -f Makefile
 
537
distclean-am: clean-am distclean-generic distclean-local
 
538
 
 
539
dvi: dvi-am
 
540
 
 
541
dvi-am:
 
542
 
 
543
html: html-am
 
544
 
 
545
info: info-am
 
546
 
 
547
info-am:
 
548
 
 
549
install-data-am: install-data-local
 
550
 
 
551
install-dvi: install-dvi-am
 
552
 
 
553
install-exec-am:
 
554
 
 
555
install-html: install-html-am
 
556
 
 
557
install-info: install-info-am
 
558
 
 
559
install-man:
 
560
 
 
561
install-pdf: install-pdf-am
 
562
 
 
563
install-ps: install-ps-am
 
564
 
 
565
installcheck-am:
 
566
 
 
567
maintainer-clean: maintainer-clean-am
 
568
        -rm -f Makefile
 
569
maintainer-clean-am: distclean-am maintainer-clean-generic \
 
570
        maintainer-clean-local
 
571
 
 
572
mostlyclean: mostlyclean-am
 
573
 
 
574
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
 
575
        mostlyclean-local
 
576
 
 
577
pdf: pdf-am
 
578
 
 
579
pdf-am:
 
580
 
 
581
ps: ps-am
 
582
 
 
583
ps-am:
 
584
 
 
585
uninstall-am: uninstall-local
 
586
 
 
587
.MAKE: install-am install-strip
 
588
 
 
589
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
 
590
        clean-local dist-hook distclean distclean-generic \
 
591
        distclean-libtool distclean-local distdir dvi dvi-am html \
 
592
        html-am info info-am install install-am install-data \
 
593
        install-data-am install-data-local install-dvi install-dvi-am \
 
594
        install-exec install-exec-am install-html install-html-am \
 
595
        install-info install-info-am install-man install-pdf \
 
596
        install-pdf-am install-ps install-ps-am install-strip \
 
597
        installcheck installcheck-am installdirs maintainer-clean \
 
598
        maintainer-clean-generic maintainer-clean-local mostlyclean \
 
599
        mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
 
600
        pdf-am ps ps-am uninstall uninstall-am uninstall-local
 
601
 
 
602
 
 
603
DOC_H_FILE ?=
 
604
 
 
605
DOC_H_DOCS ?=
 
606
 
 
607
$(DOC_H_FILE): $(DOC_H_DOCS);
 
608
        @rm -f $@.tmp; touch $@.tmp;
 
609
        echo 'const gchar* documentation_credits[] = {' >> $@.tmp
 
610
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
 
611
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
 
612
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
 
613
          xsltproc --path "$$xmlpath" $(_credits) $$doc; \
 
614
        done | sort | uniq \
 
615
          | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \
 
616
          | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
 
617
        echo '  NULL' >> $@.tmp
 
618
        echo '};' >> $@.tmp
 
619
        echo >> $@.tmp
 
620
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
 
621
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
 
622
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
 
623
          docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
 
624
            | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
 
625
          echo $$xmlpath; \
 
626
          ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
 
627
          for id in $$ids; do \
 
628
            echo '#define HELP_'`echo $$docid`'_'`echo $$id \
 
629
              | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
 
630
          done; \
 
631
          echo >> $@.tmp; \
 
632
        done;
 
633
        cp $@.tmp $@ && rm -f $@.tmp
 
634
 
 
635
dist-check-gdu:
 
636
@HAVE_GNOME_DOC_UTILS_FALSE@    @echo "*** GNOME Doc Utils must be installed in order to make dist"
 
637
@HAVE_GNOME_DOC_UTILS_FALSE@    @false
 
638
 
 
639
.PHONY: dist-doc-header
 
640
dist-doc-header: $(DOC_H_FILE)
 
641
        @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
 
642
        echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
 
643
        $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
 
644
 
 
645
doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
 
646
 
 
647
.PHONY: clean-doc-header
 
648
clean-local: $(_clean_doc_header)
 
649
distclean-local: $(_clean_doc_header)
 
650
mostlyclean-local: $(_clean_doc_header)
 
651
maintainer-clean-local: $(_clean_doc_header)
 
652
clean-doc-header:
 
653
        rm -f $(DOC_H_FILE)
 
654
 
 
655
all: $(DOC_H_FILE)
 
656
 
 
657
################################################################################
 
658
 
 
659
DOC_MODULE ?=
 
660
 
 
661
DOC_ENTITIES ?=
 
662
 
 
663
DOC_INCLUDES ?=
 
664
 
 
665
DOC_FIGURES ?=
 
666
 
 
667
DOC_FORMATS ?= docbook
 
668
 
 
669
DOC_LINGUAS ?=
 
670
 
 
671
################################################################################
 
672
 
 
673
_xml2po ?= `which xml2po`
 
674
 
 
675
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
 
676
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
 
677
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
 
678
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
 
679
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
 
680
@ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
 
681
@ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
 
682
@ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
 
683
 
 
684
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
 
685
$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
 
686
        @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
 
687
          echo "The file '$(_skcontentslist)' does not exist." >&2;             \
 
688
          echo "Please check your ScrollKeeper installation." >&2;              \
 
689
          exit 1; }
 
690
        xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
 
691
 
 
692
$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
 
693
$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
 
694
@ENABLE_SK_TRUE@        @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
 
695
@ENABLE_SK_TRUE@          echo "The file '$(_skcontentslist)' does not exist" >&2;              \
 
696
@ENABLE_SK_TRUE@          echo "Please check your ScrollKeeper installation." >&2;              \
 
697
@ENABLE_SK_TRUE@          exit 1; }
 
698
        xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
 
699
 
 
700
.PHONY: omf
 
701
omf: $(_DOC_OMF_ALL)
 
702
 
 
703
.PHONY: po
 
704
po: $(_DOC_POFILES)
 
705
 
 
706
$(_DOC_POFILES):
 
707
        @if ! test -d $(dir $@); then \
 
708
          echo "mkdir $(dir $@)"; \
 
709
          mkdir "$(dir $@)"; \
 
710
        fi
 
711
        @if test ! -f $@ -a -f $(srcdir)/$@; then \
 
712
          echo "cp $(srcdir)/$@ $@"; \
 
713
          cp "$(srcdir)/$@" "$@"; \
 
714
        fi;
 
715
        @docs=; \
 
716
        list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
 
717
          docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
 
718
        done; \
 
719
        if ! test -f $@; then \
 
720
          echo "(cd $(dir $@) && \
 
721
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
722
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
 
723
          (cd $(dir $@) && \
 
724
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
725
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
 
726
        else \
 
727
          echo "(cd $(dir $@) && \
 
728
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
 
729
          (cd $(dir $@) && \
 
730
            $(_xml2po) -e -u $(notdir $@) $$docs); \
 
731
        fi
 
732
 
 
733
# FIXME: fix the dependancy
 
734
# FIXME: hook xml2po up
 
735
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
 
736
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
 
737
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
 
738
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
 
739
        (cd $(dir $@) && \
 
740
          $(_xml2po) -e -p \
 
741
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
742
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
 
743
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
 
744
.PHONY: pot
 
745
pot: $(_DOC_POT)
 
746
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
 
747
        $(_xml2po) -e -o $@ $^
 
748
 
 
749
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
 
750
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
 
751
 
 
752
################################################################################
 
753
 
 
754
all:                                                    \
 
755
        $(_DOC_C_DOCS)          $(_DOC_LC_DOCS)         \
 
756
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
 
757
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
 
758
 
 
759
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
 
760
 
 
761
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
 
762
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
 
763
clean-doc-lc:
 
764
        rm -f $(_DOC_LC_DOCS)
 
765
        @list='$(_DOC_POFILES)'; for po in $$list; do \
 
766
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
 
767
            echo "rm -f $$po"; \
 
768
            rm -f "$$po"; \
 
769
          fi; \
 
770
        done
 
771
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
772
          if test -f "$$lc/.xml2po.mo"; then \
 
773
            echo "rm -f $$lc/.xml2po.mo"; \
 
774
            rm -f "$$lc/.xml2po.mo"; \
 
775
          fi; \
 
776
        done
 
777
clean-doc-dir:
 
778
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
779
          for dir in `find $$lc -depth -type d`; do \
 
780
            if ! test $$dir -ef $(srcdir)/$$dir; then \
 
781
              echo "rmdir $$dir"; \
 
782
              rmdir "$$dir"; \
 
783
           fi; \
 
784
          done; \
 
785
        done
 
786
 
 
787
clean-local:                                            \
 
788
        $(_clean_omf)           $(_clean_dsk)           \
 
789
        $(_clean_lc)            $(_clean_dir)
 
790
distclean-local:                                        \
 
791
        $(_clean_omf)           $(_clean_dsk)           \
 
792
        $(_clean_lc)            $(_clean_dir)
 
793
mostlyclean-local:                                      \
 
794
        $(_clean_omf)           $(_clean_dsk)           \
 
795
        $(_clean_lc)            $(_clean_dir)
 
796
maintainer-clean-local:                                 \
 
797
        $(_clean_omf)           $(_clean_dsk)           \
 
798
        $(_clean_lc)            $(_clean_dir)
 
799
 
 
800
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
 
801
doc-dist-hook:                                  \
 
802
        $(if $(DOC_MODULE),dist-doc-docs)       \
 
803
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
 
804
        $(if $(_DOC_OMF_IN),dist-doc-omf)
 
805
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
 
806
 
 
807
dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
 
808
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
809
          echo " $(mkinstalldirs) $(distdir)/$$lc"; \
 
810
          $(mkinstalldirs) "$(distdir)/$$lc"; \
 
811
        done
 
812
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
 
813
        for doc in $$list; do \
 
814
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
 
815
            docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
816
            if ! test -d "$(distdir)/$$docdir"; then \
 
817
              echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
 
818
              $(mkinstalldirs) "$(distdir)/$$docdir"; \
 
819
            fi; \
 
820
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
 
821
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
 
822
        done
 
823
 
 
824
dist-doc-figs: $(_DOC_SRC_FIGURES)
 
825
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
 
826
        for fig in $$list; do \
 
827
          if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
 
828
          if test -f "$$d$$fig"; then \
 
829
            figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
830
            if ! test -d "$(distdir)/$$figdir"; then \
 
831
              echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
 
832
              $(mkinstalldirs) "$(distdir)/$$figdir"; \
 
833
            fi; \
 
834
            echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
 
835
            $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
 
836
          fi; \
 
837
        done;
 
838
 
 
839
dist-doc-omf:
 
840
        @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
 
841
        echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
 
842
        $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
 
843
 
 
844
dist-doc-dsk:
 
845
        @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
 
846
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
 
847
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
 
848
 
 
849
.PHONY: check-doc-docs check-doc-omf
 
850
check:                                                  \
 
851
        $(if $(DOC_MODULE),check-doc-docs)              \
 
852
        $(if $(_DOC_OMF_IN),check-doc-omf)
 
853
 
 
854
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
 
855
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
856
          if test -f "$$lc"; \
 
857
            then d=; \
 
858
            xmlpath="$$lc"; \
 
859
          else \
 
860
            d="$(srcdir)/"; \
 
861
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
862
          fi; \
 
863
          echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
 
864
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
 
865
        done
 
866
 
 
867
check-doc-omf: $(_DOC_OMF_ALL)
 
868
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
869
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
 
870
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
 
871
        done
 
872
 
 
873
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
 
874
install-data-local:                                     \
 
875
        $(if $(DOC_MODULE),install-doc-docs)            \
 
876
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
 
877
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
 
878
        $(if $(_DOC_OMF_IN),install-doc-omf)
 
879
#       $(if $(_DOC_DSK_IN),install-doc-dsk)
 
880
 
 
881
install-doc-docs:
 
882
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
883
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
 
884
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
 
885
        done
 
886
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
 
887
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
 
888
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
889
          docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
 
890
          if ! test -d "$$docdir"; then \
 
891
            echo "$(mkinstalldirs) $$docdir"; \
 
892
            $(mkinstalldirs) "$$docdir"; \
 
893
          fi; \
 
894
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
895
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
 
896
        done
 
897
 
 
898
install-doc-figs:
 
899
        @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
 
900
          for lc in C $(_DOC_REAL_LINGUAS); do \
 
901
            if test -f "$$lc/$$fig"; then \
 
902
              figfile="$$lc/$$fig"; \
 
903
            elif test -f "$(srcdir)/$$lc/$$fig"; then \
 
904
              figfile="$(srcdir)/$$lc/$$fig"; \
 
905
            elif test -f "C/$$fig"; then \
 
906
              figfile="C/$$fig"; \
 
907
            else \
 
908
              figfile="$(srcdir)/C/$$fig"; \
 
909
            fi; \
 
910
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
911
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
 
912
            if ! test -d "$$figdir"; then \
 
913
              echo "$(mkinstalldirs) $$figdir"; \
 
914
              $(mkinstalldirs) "$$figdir"; \
 
915
            fi; \
 
916
            figbase=`echo $$fig | sed -e 's/^.*\///'`; \
 
917
            echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
 
918
            $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
 
919
          done; \
 
920
        done
 
921
 
 
922
install-doc-html:
 
923
        echo install-html
 
924
 
 
925
install-doc-omf:
 
926
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
 
927
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
928
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
929
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
 
930
        done
 
931
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
 
932
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
933
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
934
        fi;
 
935
 
 
936
install-doc-dsk:
 
937
        echo install-dsk
 
938
 
 
939
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
 
940
uninstall-local:                                        \
 
941
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
 
942
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
 
943
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
 
944
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
 
945
#       $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
 
946
 
 
947
uninstall-doc-docs:
 
948
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
 
949
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
950
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
951
        done
 
952
 
 
953
uninstall-doc-figs:
 
954
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
 
955
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
956
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
957
        done;
 
958
 
 
959
uninstall-doc-omf:
 
960
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
961
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
 
962
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
963
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
964
          fi; \
 
965
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
966
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
967
        done
 
968
dist-hook: doc-dist-hook
 
969
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
970
# Otherwise a system limit (for SysV at least) may be exceeded.
 
971
.NOEXPORT: