~ubuntu-branches/ubuntu/precise/gnomeradio/precise-updates

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Namuri
  • Date: 2008-05-12 00:36:27 UTC
  • mfrom: (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080512003627-m4r405wwqc2e3xgv
Tags: 1.7-6
* debian/changelog: sync with the one from ubuntu.
* debian/patches/prefs.c.patch: fixed. In 1.7-6 I've uploaded a wrong
  version of the patch, now it's the right one that Cesare Tirabassi
  has included in the ubuntu's package. (Closes: #468796, #462891)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005  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
srcdir = @srcdir@
 
41
top_srcdir = @top_srcdir@
 
42
VPATH = @srcdir@
 
43
pkgdatadir = $(datadir)/@PACKAGE@
 
44
pkglibdir = $(libdir)/@PACKAGE@
 
45
pkgincludedir = $(includedir)/@PACKAGE@
 
46
top_builddir = ..
 
47
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
48
INSTALL = @INSTALL@
 
49
install_sh_DATA = $(install_sh) -c -m 644
 
50
install_sh_PROGRAM = $(install_sh) -c
 
51
install_sh_SCRIPT = $(install_sh) -c
 
52
INSTALL_HEADER = $(INSTALL_DATA)
 
53
transform = $(program_transform_name)
 
54
NORMAL_INSTALL = :
 
55
PRE_INSTALL = :
 
56
POST_INSTALL = :
 
57
NORMAL_UNINSTALL = :
 
58
PRE_UNINSTALL = :
 
59
POST_UNINSTALL = :
 
60
build_triplet = @build@
 
61
host_triplet = @host@
 
62
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
63
        $(top_srcdir)/gnome-doc-utils.make
 
64
subdir = help
 
65
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
66
am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
 
67
        $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.in
 
68
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
69
        $(ACLOCAL_M4)
 
70
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
71
CONFIG_HEADER = $(top_builddir)/config.h
 
72
CONFIG_CLEAN_FILES =
 
73
SOURCES =
 
74
DIST_SOURCES =
 
75
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
76
ACLOCAL = @ACLOCAL@
 
77
ALL_LINGUAS = @ALL_LINGUAS@
 
78
AMDEP_FALSE = @AMDEP_FALSE@
 
79
AMDEP_TRUE = @AMDEP_TRUE@
 
80
AMTAR = @AMTAR@
 
81
AR = @AR@
 
82
AUTOCONF = @AUTOCONF@
 
83
AUTOHEADER = @AUTOHEADER@
 
84
AUTOMAKE = @AUTOMAKE@
 
85
AWK = @AWK@
 
86
CATALOGS = @CATALOGS@
 
87
CATOBJEXT = @CATOBJEXT@
 
88
CC = @CC@
 
89
CCDEPMODE = @CCDEPMODE@
 
90
CFLAGS = @CFLAGS@
 
91
CPP = @CPP@
 
92
CPPFLAGS = @CPPFLAGS@
 
93
CXX = @CXX@
 
94
CXXCPP = @CXXCPP@
 
95
CXXDEPMODE = @CXXDEPMODE@
 
96
CXXFLAGS = @CXXFLAGS@
 
97
CYGPATH_W = @CYGPATH_W@
 
98
DATADIRNAME = @DATADIRNAME@
 
99
DEFS = @DEFS@
 
100
DEPDIR = @DEPDIR@
 
101
DOC_USER_FORMATS = @DOC_USER_FORMATS@
 
102
ECHO = @ECHO@
 
103
ECHO_C = @ECHO_C@
 
104
ECHO_N = @ECHO_N@
 
105
ECHO_T = @ECHO_T@
 
106
EGREP = @EGREP@
 
107
ENABLE_SK_FALSE = @ENABLE_SK_FALSE@
 
108
ENABLE_SK_TRUE = @ENABLE_SK_TRUE@
 
109
EXEEXT = @EXEEXT@
 
110
F77 = @F77@
 
111
FFLAGS = @FFLAGS@
 
112
GCONFTOOL = @GCONFTOOL@
 
113
GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@
 
114
GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@
 
115
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
 
116
GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
 
117
GDU_MODULE_VERSION_CHECK_CFLAGS = @GDU_MODULE_VERSION_CHECK_CFLAGS@
 
118
GDU_MODULE_VERSION_CHECK_LIBS = @GDU_MODULE_VERSION_CHECK_LIBS@
 
119
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 
120
GMOFILES = @GMOFILES@
 
121
GMSGFMT = @GMSGFMT@
 
122
GNOME14_CFLAGS = @GNOME14_CFLAGS@
 
123
GNOME14_LIBS = @GNOME14_LIBS@
 
124
GNOME_14 = @GNOME_14@
 
125
GNOME_CFLAGS = @GNOME_CFLAGS@
 
126
GNOME_LIBS = @GNOME_LIBS@
 
127
GREP = @GREP@
 
128
GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@
 
129
GSTREAMER_LIBS = @GSTREAMER_LIBS@
 
130
HELP_DIR = @HELP_DIR@
 
131
INSTALL_DATA = @INSTALL_DATA@
 
132
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
133
INSTALL_SCHEMAS_FALSE = @INSTALL_SCHEMAS_FALSE@
 
134
INSTALL_SCHEMAS_TRUE = @INSTALL_SCHEMAS_TRUE@
 
135
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
136
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
137
INSTOBJEXT = @INSTOBJEXT@
 
138
INTLLIBS = @INTLLIBS@
 
139
INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
 
140
INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
 
141
INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
 
142
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 
143
INTLTOOL_ICONV = @INTLTOOL_ICONV@
 
144
INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
 
145
INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
 
146
INTLTOOL_MERGE = @INTLTOOL_MERGE@
 
147
INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@
 
148
INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@
 
149
INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
 
150
INTLTOOL_PERL = @INTLTOOL_PERL@
 
151
INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
 
152
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
 
153
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
 
154
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
 
155
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
 
156
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
 
157
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
 
158
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
 
159
INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
 
160
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
 
161
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
 
162
INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@
 
163
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 
164
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
 
165
LDFLAGS = @LDFLAGS@
 
166
LIBOBJS = @LIBOBJS@
 
167
LIBS = @LIBS@
 
168
LIBTOOL = @LIBTOOL@
 
169
LIRC = @LIRC@
 
170
LN_S = @LN_S@
 
171
LTLIBOBJS = @LTLIBOBJS@
 
172
MAINT = @MAINT@
 
173
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
 
174
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 
175
MAKEINFO = @MAKEINFO@
 
176
MKINSTALLDIRS = @MKINSTALLDIRS@
 
177
MSGFMT = @MSGFMT@
 
178
OBJEXT = @OBJEXT@
 
179
OMF_DIR = @OMF_DIR@
 
180
PACKAGE = @PACKAGE@
 
181
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
182
PACKAGE_NAME = @PACKAGE_NAME@
 
183
PACKAGE_STRING = @PACKAGE_STRING@
 
184
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
185
PACKAGE_VERSION = @PACKAGE_VERSION@
 
186
PATH_SEPARATOR = @PATH_SEPARATOR@
 
187
PKG_CONFIG = @PKG_CONFIG@
 
188
POFILES = @POFILES@
 
189
POSUB = @POSUB@
 
190
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
 
191
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
 
192
RANLIB = @RANLIB@
 
193
SET_MAKE = @SET_MAKE@
 
194
SHELL = @SHELL@
 
195
STRIP = @STRIP@
 
196
USE_NLS = @USE_NLS@
 
197
VERSION = @VERSION@
 
198
XGETTEXT = @XGETTEXT@
 
199
ac_ct_CC = @ac_ct_CC@
 
200
ac_ct_CXX = @ac_ct_CXX@
 
201
ac_ct_F77 = @ac_ct_F77@
 
202
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
203
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
 
204
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
 
205
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 
206
am__include = @am__include@
 
207
am__leading_dot = @am__leading_dot@
 
208
am__quote = @am__quote@
 
209
am__tar = @am__tar@
 
210
am__untar = @am__untar@
 
211
bindir = @bindir@
 
212
build = @build@
 
213
build_alias = @build_alias@
 
214
build_cpu = @build_cpu@
 
215
build_os = @build_os@
 
216
build_vendor = @build_vendor@
 
217
datadir = @datadir@
 
218
datarootdir = @datarootdir@
 
219
docdir = @docdir@
 
220
dvidir = @dvidir@
 
221
exec_prefix = @exec_prefix@
 
222
host = @host@
 
223
host_alias = @host_alias@
 
224
host_cpu = @host_cpu@
 
225
host_os = @host_os@
 
226
host_vendor = @host_vendor@
 
227
htmldir = @htmldir@
 
228
includedir = @includedir@
 
229
infodir = @infodir@
 
230
install_sh = @install_sh@
 
231
libdir = @libdir@
 
232
libexecdir = @libexecdir@
 
233
localedir = @localedir@
 
234
localstatedir = @localstatedir@
 
235
mandir = @mandir@
 
236
mkdir_p = @mkdir_p@
 
237
oldincludedir = @oldincludedir@
 
238
pdfdir = @pdfdir@
 
239
prefix = @prefix@
 
240
program_transform_name = @program_transform_name@
 
241
psdir = @psdir@
 
242
sbindir = @sbindir@
 
243
sharedstatedir = @sharedstatedir@
 
244
sysconfdir = @sysconfdir@
 
245
target_alias = @target_alias@
 
246
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
 
247
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
 
248
_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),               \
 
249
        $(filter $(LINGUAS),$(DOC_LINGUAS)),                                    \
 
250
        $(DOC_LINGUAS))
 
251
 
 
252
 
 
253
################################################################################
 
254
rngdoc_args = \
 
255
        --stringparam rngdoc.id                                                 \
 
256
        $(shell echo $(basename $(notdir $(1))) | sed -e 's/[^A-Za-z0-9_-]/_/g')\
 
257
        $(_rngdoc) $(filter %/$(basename $(notdir $(1))).rng,$(_RNGDOC_RNGS))
 
258
 
 
259
_RNGDOC_RNGS = $(sort $(patsubst ./%, %, $(foreach dir,$(RNGDOC_DIRS),          \
 
260
        $(wildcard $(dir)/*.rng) $(wildcard $(srcdir)/$(dir)/*.rng))))
 
261
 
 
262
_RNGDOC_C_DOCS = $(foreach rng,$(_RNGDOC_RNGS), C/$(basename $(notdir $(rng))).xml)
 
263
 
 
264
################################################################################
 
265
 
 
266
# FIXME: _XSLDOC_XSLS is getting dupes with relative/absolute in some
 
267
# cases.  Right now, I'm just taking the first, but that's just a bad
 
268
# work-around.  Fix the real problem.
 
269
xsldoc_args = \
 
270
        --stringparam xsldoc.id                                                 \
 
271
        $(shell echo $(basename $(notdir $(1))) | sed -e 's/[^A-Za-z0-9_-]/_/g')\
 
272
        $(_xsldoc)                                                              \
 
273
        $(word 1,$(filter %/$(basename $(notdir $(1))).xsl,$(_XSLDOC_XSLS)))
 
274
 
 
275
_XSLDOC_XSLS = $(sort $(patsubst ./%, %, $(foreach dir,$(XSLDOC_DIRS),          \
 
276
        $(wildcard $(dir)/*.xsl) $(wildcard $(srcdir)/$(dir)/*.xsl))))
 
277
 
 
278
_XSLDOC_C_DOCS = $(foreach xsl,$(_XSLDOC_XSLS), C/$(basename $(notdir $(xsl))).xml)
 
279
 
 
280
################################################################################
 
281
db2omf_args = \
 
282
        --stringparam db2omf.basename $(DOC_MODULE)                             \
 
283
        --stringparam db2omf.format $(3)                                        \
 
284
        --stringparam db2omf.dtd                                                \
 
285
        $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1              \
 
286
                | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/')                     \
 
287
        --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
 
288
        --stringparam db2omf.omf_dir "$(OMF_DIR)"                               \
 
289
        --stringparam db2omf.help_dir "$(HELP_DIR)"                             \
 
290
        --stringparam db2omf.omf_in "`pwd`/$(_DOC_OMF_IN)"                      \
 
291
        $(_db2omf) $(2)
 
292
 
 
293
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(srcdir)/$(DOC_MODULE).omf.in))
 
294
_DOC_OMF_DB = $(if $(_DOC_OMF_IN),                                              \
 
295
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
 
296
 
 
297
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN),                                            \
 
298
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
 
299
 
 
300
 
 
301
# FIXME
 
302
_DOC_OMF_ALL = \
 
303
        $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB))             \
 
304
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
 
305
 
 
306
 
 
307
################################################################################
 
308
_CVSIGNORE_TOP = $(if $(DOC_MODULE), .cvsignore)
 
309
_CVSIGNORE_C = $(if $(DOC_MODULE), C/.cvsignore)
 
310
_CVSIGNORE_LC = $(if $(DOC_MODULE),$(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/.cvsignore))
 
311
_CVSIGNORE_TOP_FILES = $(_DOC_OMF_ALL) $(_DOC_DSK_ALL)
 
312
_CVSIGNORE_C_FILES = $(_RNGDOC_C_DOCS) $(_XSLDOC_C_DOCS)
 
313
_CVSIGNORE_LC_FILES = $(_DOC_LC_DOCS)
 
314
 
 
315
################################################################################
 
316
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
 
317
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
 
318
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
 
319
_DOC_C_DOCS = \
 
320
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
 
321
        $(_RNGDOC_C_DOCS)       $(_XSLDOC_C_DOCS)                       \
 
322
        $(_DOC_C_MODULE)
 
323
 
 
324
_DOC_C_DOCS_NOENT = \
 
325
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
 
326
        $(_RNGDOC_C_DOCS)       $(_XSLDOC_C_DOCS)
 
327
 
 
328
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
 
329
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
 
330
        $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
 
331
 
 
332
 
 
333
# FIXME: probably have to shell escape to determine the file names
 
334
_DOC_C_HTML = $(foreach f,                                              \
 
335
        $(shell xsltproc --xinclude                                     \
 
336
          --stringparam db.chunk.basename "$(DOC_MODULE)"               \
 
337
          $(_chunks) "C/$(DOC_MODULE).xml"),                            \
 
338
        C/$(f).xhtml)
 
339
 
 
340
 
 
341
###############################################################################
 
342
_DOC_POFILES = $(if $(DOC_MODULE),                                              \
 
343
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
 
344
 
 
345
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
 
346
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
 
347
 
 
348
_DOC_LC_INCLUDES = \
 
349
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
 
350
                $(lc)/$(notdir $(inc)) ))
 
351
 
 
352
_RNGDOC_LC_DOCS = \
 
353
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_RNGDOC_C_DOCS),      \
 
354
                $(lc)/$(notdir $(doc)) ))
 
355
 
 
356
_XSLDOC_LC_DOCS = \
 
357
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_XSLDOC_C_DOCS),      \
 
358
                $(lc)/$(notdir $(doc)) ))
 
359
 
 
360
 
 
361
# FIXME: probably have to shell escape to determine the file names
 
362
_DOC_LC_HTML = \
 
363
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML),         \
 
364
                $(lc)/$(notdir $(doc)) ))
 
365
 
 
366
_DOC_LC_DOCS = \
 
367
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                             \
 
368
        $(_RNGDOC_LC_DOCS)      $(_XSLDOC_LC_DOCS)                              \
 
369
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
 
370
 
 
371
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
 
372
        $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
 
373
 
 
374
_DOC_SRC_FIGURES = \
 
375
        $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS),   \
 
376
                $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
 
377
 
 
378
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot)
 
379
 
 
380
################################################################################
 
381
_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
 
382
        $(_DOC_C_HTML) $(_DOC_LC_HTML))
 
383
 
 
384
_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
 
385
@ENABLE_SK_FALSE@_ENABLE_SK = false
 
386
 
 
387
################################################################################
 
388
@ENABLE_SK_TRUE@_ENABLE_SK = true
 
389
_clean_rngdoc = $(if $(RNGDOC_DIRS),clean-doc-rngdoc)
 
390
_clean_xsldoc = $(if $(XSLDOC_DIRS),clean-doc-xsldoc)
 
391
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
 
392
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
 
393
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
 
394
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
 
395
DOC_MODULE = gnomeradio
 
396
DOC_ENTITIES = legal.xml
 
397
DOC_INCLUDES = 
 
398
DOC_FIGURES = \
 
399
figures/freq-controls.png \
 
400
figures/misc-controls.png \
 
401
figures/presets-box.png \
 
402
figures/recording-general.png \
 
403
figures/recording-mp3.png \
 
404
figures/recording-wav.png \
 
405
figures/recording_status.png \
 
406
figures/settings-misc.png \
 
407
figures/settings-presets.png \
 
408
figures/status-window.png \
 
409
figures/volume-controls.png
 
410
 
 
411
DOC_LINGUAS = sv
 
412
all: all-am
 
413
 
 
414
.SUFFIXES:
 
415
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
 
416
        @for dep in $?; do \
 
417
          case '$(am__configure_deps)' in \
 
418
            *$$dep*) \
 
419
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
420
                && exit 0; \
 
421
              exit 1;; \
 
422
          esac; \
 
423
        done; \
 
424
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  help/Makefile'; \
 
425
        cd $(top_srcdir) && \
 
426
          $(AUTOMAKE) --gnu  help/Makefile
 
427
.PRECIOUS: Makefile
 
428
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
429
        @case '$?' in \
 
430
          *config.status*) \
 
431
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
432
          *) \
 
433
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
434
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
435
        esac;
 
436
 
 
437
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
438
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
439
 
 
440
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
441
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
442
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
443
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
444
 
 
445
mostlyclean-libtool:
 
446
        -rm -f *.lo
 
447
 
 
448
clean-libtool:
 
449
        -rm -rf .libs _libs
 
450
 
 
451
distclean-libtool:
 
452
        -rm -f libtool
 
453
uninstall-info-am:
 
454
tags: TAGS
 
455
TAGS:
 
456
 
 
457
ctags: CTAGS
 
458
CTAGS:
 
459
 
 
460
 
 
461
distdir: $(DISTFILES)
 
462
        $(mkdir_p) $(distdir)/..
 
463
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
464
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
465
        list='$(DISTFILES)'; for file in $$list; do \
 
466
          case $$file in \
 
467
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
468
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
469
          esac; \
 
470
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
471
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
472
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
473
            dir="/$$dir"; \
 
474
            $(mkdir_p) "$(distdir)$$dir"; \
 
475
          else \
 
476
            dir=''; \
 
477
          fi; \
 
478
          if test -d $$d/$$file; then \
 
479
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
480
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
481
            fi; \
 
482
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
483
          else \
 
484
            test -f $(distdir)/$$file \
 
485
            || cp -p $$d/$$file $(distdir)/$$file \
 
486
            || exit 1; \
 
487
          fi; \
 
488
        done
 
489
        $(MAKE) $(AM_MAKEFLAGS) \
 
490
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
491
          dist-hook
 
492
check-am: all-am
 
493
check: check-am
 
494
all-am: Makefile
 
495
installdirs:
 
496
install: install-am
 
497
install-exec: install-exec-am
 
498
install-data: install-data-am
 
499
uninstall: uninstall-am
 
500
 
 
501
install-am: all-am
 
502
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
503
 
 
504
installcheck: installcheck-am
 
505
install-strip:
 
506
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
507
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
508
          `test -z '$(STRIP)' || \
 
509
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
510
mostlyclean-generic:
 
511
 
 
512
clean-generic:
 
513
 
 
514
distclean-generic:
 
515
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
516
 
 
517
maintainer-clean-generic:
 
518
        @echo "This command is intended for maintainers to use"
 
519
        @echo "it deletes files that may require special tools to rebuild."
 
520
clean: clean-am
 
521
 
 
522
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
523
 
 
524
distclean: distclean-am
 
525
        -rm -f Makefile
 
526
distclean-am: clean-am distclean-generic distclean-libtool \
 
527
        distclean-local
 
528
 
 
529
dvi: dvi-am
 
530
 
 
531
dvi-am:
 
532
 
 
533
html: html-am
 
534
 
 
535
info: info-am
 
536
 
 
537
info-am:
 
538
 
 
539
install-data-am: install-data-local
 
540
 
 
541
install-exec-am:
 
542
 
 
543
install-info: install-info-am
 
544
 
 
545
install-man:
 
546
 
 
547
installcheck-am:
 
548
 
 
549
maintainer-clean: maintainer-clean-am
 
550
        -rm -f Makefile
 
551
maintainer-clean-am: distclean-am maintainer-clean-generic \
 
552
        maintainer-clean-local
 
553
 
 
554
mostlyclean: mostlyclean-am
 
555
 
 
556
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
 
557
        mostlyclean-local
 
558
 
 
559
pdf: pdf-am
 
560
 
 
561
pdf-am:
 
562
 
 
563
ps: ps-am
 
564
 
 
565
ps-am:
 
566
 
 
567
uninstall-am: uninstall-info-am uninstall-local
 
568
 
 
569
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
 
570
        clean-local dist-hook distclean distclean-generic \
 
571
        distclean-libtool distclean-local distdir dvi dvi-am html \
 
572
        html-am info info-am install install-am install-data \
 
573
        install-data-am install-data-local install-exec \
 
574
        install-exec-am install-info install-info-am install-man \
 
575
        install-strip installcheck installcheck-am installdirs \
 
576
        maintainer-clean maintainer-clean-generic \
 
577
        maintainer-clean-local mostlyclean mostlyclean-generic \
 
578
        mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am \
 
579
        uninstall uninstall-am uninstall-info-am uninstall-local
 
580
 
 
581
 
 
582
DOC_H_FILE ?=
 
583
 
 
584
DOC_H_DOCS ?=
 
585
 
 
586
$(DOC_H_FILE): $(DOC_H_DOCS);
 
587
        @rm -f $@.tmp; touch $@.tmp;
 
588
        echo 'const gchar* documentation_credits[] = {' >> $@.tmp
 
589
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
 
590
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
 
591
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
 
592
          xsltproc --path "$$xmlpath" $(_credits) $$doc; \
 
593
        done | sort | uniq \
 
594
          | 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}}' \
 
595
          | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
 
596
        echo '  NULL' >> $@.tmp
 
597
        echo '};' >> $@.tmp
 
598
        echo >> $@.tmp
 
599
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
 
600
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
 
601
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
 
602
          docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
 
603
            | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
 
604
          echo $$xmlpath; \
 
605
          ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
 
606
          for id in $$ids; do \
 
607
            echo '#define HELP_'`echo $$docid`'_'`echo $$id \
 
608
              | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
 
609
          done; \
 
610
          echo >> $@.tmp; \
 
611
        done;
 
612
        cp $@.tmp $@ && rm -f $@.tmp
 
613
 
 
614
.PHONY: dist-doc-header
 
615
dist-doc-header: $(DOC_H_FILE)
 
616
        @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
 
617
        echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
 
618
        $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
 
619
 
 
620
doc-dist-hook: $(if $(DOC_H_FILE),dist-doc-header)
 
621
 
 
622
.PHONY: clean-doc-header
 
623
clean-local: $(_clean_doc_header)
 
624
distclean-local: $(_clean_doc_header)
 
625
mostlyclean-local: $(_clean_doc_header)
 
626
maintainer-clean-local: $(_clean_doc_header)
 
627
clean-doc-header:
 
628
        rm -f $(DOC_H_FILE)
 
629
 
 
630
all: $(DOC_H_FILE)
 
631
 
 
632
################################################################################
 
633
 
 
634
DOC_MODULE ?=
 
635
 
 
636
DOC_ENTITIES ?=
 
637
 
 
638
DOC_INCLUDES ?=
 
639
 
 
640
DOC_FIGURES ?=
 
641
 
 
642
DOC_FORMATS ?= docbook
 
643
 
 
644
DOC_LINGUAS ?=
 
645
 
 
646
RNGDOC_DIRS ?=
 
647
 
 
648
XSLDOC_DIRS ?=
 
649
 
 
650
################################################################################
 
651
 
 
652
_xml2po ?= `which xml2po`
 
653
 
 
654
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
 
655
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
 
656
_rngdoc  ?= `$(PKG_CONFIG) --variable rngdoc gnome-doc-utils`
 
657
_xsldoc  ?= `$(PKG_CONFIG) --variable xsldoc gnome-doc-utils`
 
658
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
 
659
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
 
660
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
 
661
 
 
662
_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
 
663
 
 
664
# FIXME: Fix the dependancies
 
665
$(_RNGDOC_C_DOCS) : $(_RNGDOC_RNGS)
 
666
        if ! test -d $(dir $@); then mkdir $(dir $@); fi;
 
667
        xsltproc $(call rngdoc_args,$@,$<) | xmllint --c14n - > $@.tmp && \
 
668
          cp $@.tmp $@ && rm -f $@.tmp
 
669
 
 
670
.PHONY: rngdoc
 
671
rngdoc: $(_RNGDOC_C_DOCS)
 
672
 
 
673
# FIXME: Fix the dependancies
 
674
$(_XSLDOC_C_DOCS) : $(_XSLDOC_XSLS)
 
675
        if ! test -d $(dir $@); then mkdir $(dir $@); fi;
 
676
        xsltproc $(call xsldoc_args,$@,$<) | xmllint --c14n - > $@.tmp && \
 
677
          cp $@.tmp $@ && rm -f $@.tmp
 
678
 
 
679
.PHONY: xsldoc
 
680
xsldoc: $(_XSLDOC_C_DOCS)
 
681
 
 
682
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
 
683
$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
 
684
        xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook')
 
685
 
 
686
$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
 
687
$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
 
688
        xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml')
 
689
 
 
690
.PHONY: omf
 
691
omf: $(_DOC_OMF_ALL)
 
692
 
 
693
$(_CVSIGNORE_TOP) : $(_CVSIGNORE_TOP_FILES)
 
694
        if ! test -f $@; then touch $@; fi
 
695
        cat $@ > $@.tmp
 
696
        list='$^'; for file in $$list; do \
 
697
          echo $$file >> $@.tmp; \
 
698
        done
 
699
        cat $@.tmp | sort | uniq > $@
 
700
        rm $@.tmp
 
701
 
 
702
$(_CVSIGNORE_C) : $(_CVSIGNORE_C_FILES)
 
703
        if ! test -f $@; then touch $@; fi
 
704
        cat $@ > $@.tmp
 
705
        list='$^'; for file in $$list; do \
 
706
          echo $$file | sed -e 's/.*\///' >> $@.tmp; \
 
707
        done
 
708
        cat $@.tmp | sort | uniq > $@
 
709
        rm $@.tmp
 
710
 
 
711
$(_CVSIGNORE_LC) : $(_CVSIGNORE_LC_FILES)
 
712
        if ! test -f $@; then touch $@; fi
 
713
        cat $@ > $@.tmp
 
714
        list='$(wildcard $(_CVSIGNORE_LC_FILES),$(dir $@)/*)'; \
 
715
        for file in $$list; do \
 
716
          echo $$file | sed -e 's/.*\///' >> $@.tmp; \
 
717
        done
 
718
        cat $@.tmp | sort | uniq > $@
 
719
        rm $@.tmp
 
720
 
 
721
.PHONY: cvsignore
 
722
cvsignore: $(_CVSIGNORE_TOP) $(_CVSIGNROE_C) $(_CVSIGNORE_LC)
 
723
 
 
724
.PHONY: po
 
725
po: $(_DOC_POFILES)
 
726
 
 
727
$(_DOC_POFILES):
 
728
        @if ! test -d $(dir $@); then \
 
729
          echo "mkdir $(dir $@)"; \
 
730
          mkdir "$(dir $@)"; \
 
731
        fi
 
732
        @if test ! -f $@ -a -f $(srcdir)/$@; then \
 
733
          echo "cp $(srcdir)/$@ $@"; \
 
734
          cp "$(srcdir)/$@" "$@"; \
 
735
        fi;
 
736
        @docs=; \
 
737
        list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
 
738
          if test -f $$doc; then \
 
739
            docs="$$docs ../$$doc"; \
 
740
          else \
 
741
            docs="$$docs ../$(srcdir)/$$doc"; \
 
742
          fi; \
 
743
        done; \
 
744
        if ! test -f $@; then \
 
745
          echo "(cd $(dir $@) && \
 
746
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
747
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
 
748
          (cd $(dir $@) && \
 
749
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
750
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
 
751
        else \
 
752
          echo "(cd $(dir $@) && \
 
753
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
 
754
          (cd $(dir $@) && \
 
755
            $(_xml2po) -e -u $(notdir $@) $$docs); \
 
756
        fi
 
757
 
 
758
# FIXME: fix the dependancy
 
759
# FIXME: hook xml2po up
 
760
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
 
761
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
 
762
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
 
763
        case "$(srcdir)" in /*) sd="$(srcdir)";; *) sd="../$(srcdir)";; esac; \
 
764
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$$sd/"; fi; \
 
765
        (cd $(dir $@) && \
 
766
          $(_xml2po) -e -p \
 
767
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
768
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
 
769
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
 
770
.PHONY: pot
 
771
pot: $(_DOC_POT)
 
772
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
 
773
        $(_xml2po) -e -o $@ $^
 
774
 
 
775
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
 
776
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
 
777
 
 
778
all:                                                    \
 
779
        $(_DOC_C_DOCS)          $(_DOC_LC_DOCS)         \
 
780
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
 
781
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
 
782
 
 
783
.PHONY: clean-doc-rngdoc clean-doc-xsldoc clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
 
784
 
 
785
clean-doc-rngdoc: ; rm -f $(_RNGDOC_C_DOCS) $(_RNGDOC_LC_DOCS)
 
786
clean-doc-xsldoc: ; rm -f $(_XSLDOC_C_DOCS) $(_XSLDOC_LC_DOCS)
 
787
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
 
788
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
 
789
clean-doc-lc:
 
790
        rm -f $(_DOC_LC_DOCS)
 
791
        @list='$(_DOC_POFILES)'; for po in $$list; do \
 
792
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
 
793
            echo "rm -f $$po"; \
 
794
            rm -f "$$po"; \
 
795
          fi; \
 
796
        done
 
797
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
798
          if test -f "$$lc/.xml2po.mo"; then \
 
799
            echo "rm -f $$lc/.xml2po.mo"; \
 
800
            rm -f "$$lc/.xml2po.mo"; \
 
801
          fi; \
 
802
        done
 
803
clean-doc-dir:
 
804
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
805
          for dir in `find $$lc -depth -type d`; do \
 
806
            if ! test $$dir -ef $(srcdir)/$$dir; then \
 
807
              echo "rmdir $$dir"; \
 
808
              rmdir "$$dir"; \
 
809
           fi; \
 
810
          done; \
 
811
        done
 
812
 
 
813
clean-local:                                            \
 
814
        $(_clean_rngdoc)        $(_clean_xsldoc)        \
 
815
        $(_clean_omf)           $(_clean_dsk)           \
 
816
        $(_clean_lc)            $(_clean_dir)
 
817
distclean-local:                                        \
 
818
        $(_clean_rngdoc)        $(_clean_xsldoc)        \
 
819
        $(_clean_omf)           $(_clean_dsk)           \
 
820
        $(_clean_lc)            $(_clean_dir)
 
821
mostlyclean-local:                                      \
 
822
        $(_clean_rngdoc)        $(_clean_xsldoc)        \
 
823
        $(_clean_omf)           $(_clean_dsk)           \
 
824
        $(_clean_lc)            $(_clean_dir)
 
825
maintainer-clean-local:                                 \
 
826
        $(_clean_rngdoc)        $(_clean_xsldoc)        \
 
827
        $(_clean_omf)           $(_clean_dsk)           \
 
828
        $(_clean_lc)            $(_clean_dir)
 
829
 
 
830
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
 
831
doc-dist-hook:                                  \
 
832
        $(if $(DOC_MODULE),dist-doc-docs)       \
 
833
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
 
834
        $(if $(_DOC_OMF_IN),dist-doc-omf)
 
835
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
 
836
 
 
837
dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
 
838
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
839
          echo " $(mkinstalldirs) $(distdir)/$$lc"; \
 
840
          $(mkinstalldirs) "$(distdir)/$$lc"; \
 
841
        done
 
842
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
 
843
        for doc in $$list; do \
 
844
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
 
845
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
 
846
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
 
847
        done
 
848
 
 
849
dist-doc-figs: $(_DOC_SRC_FIGURES)
 
850
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
 
851
        for fig in $$list; do \
 
852
          if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
 
853
          if test -f "$$d$$fig"; then \
 
854
            figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
855
            if ! test -d "$(distdir)/$$figdir"; then \
 
856
              echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
 
857
              $(mkinstalldirs) "$(distdir)/$$figdir"; \
 
858
            fi; \
 
859
            echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
 
860
            $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
 
861
          fi; \
 
862
        done;
 
863
 
 
864
dist-doc-omf:
 
865
        @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
 
866
        echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
 
867
        $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
 
868
 
 
869
dist-doc-dsk:
 
870
        @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
 
871
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
 
872
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
 
873
 
 
874
.PHONY: check-doc-docs check-doc-omf
 
875
check:                                                  \
 
876
        $(if $(DOC_MODULE),check-doc-docs)              \
 
877
        $(if $(_DOC_OMF_IN),check-doc-omf)
 
878
 
 
879
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
 
880
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
881
          if test -f "$$lc"; \
 
882
            then d=; \
 
883
            xmlpath="$$lc"; \
 
884
          else \
 
885
            d="$(srcdir)/"; \
 
886
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
887
          fi; \
 
888
          echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
 
889
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
 
890
        done
 
891
 
 
892
check-doc-omf: $(_DOC_OMF_ALL)
 
893
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
894
          echo "xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
 
895
          xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
 
896
        done
 
897
 
 
898
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
 
899
install-data-local:                                     \
 
900
        $(if $(DOC_MODULE),install-doc-docs)            \
 
901
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
 
902
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
 
903
        $(if $(_DOC_OMF_IN),install-doc-omf)
 
904
#       $(if $(_DOC_DSK_IN),install-doc-dsk)
 
905
 
 
906
install-doc-docs:
 
907
        @for lc in C $(_DOC_REAL_LINGUAS); do \
 
908
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
 
909
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
 
910
        done
 
911
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
 
912
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
 
913
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
914
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
 
915
        done
 
916
 
 
917
install-doc-figs:
 
918
        @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
 
919
          for lc in C $(_DOC_REAL_LINGUAS); do \
 
920
            if test -f "$$lc/$$fig"; then \
 
921
              figfile="$$lc/$$fig"; \
 
922
            elif test -f "$(srcdir)/$$lc/$$fig"; then \
 
923
              figfile="$(srcdir)/$$lc/$$fig"; \
 
924
            elif test -f "C/$$fig"; then \
 
925
              figfile="C/$$fig"; \
 
926
            else \
 
927
              figfile="$(srcdir)/C/$$fig"; \
 
928
            fi; \
 
929
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 
930
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
 
931
            if ! test -d "$$figdir"; then \
 
932
              echo "$(mkinstalldirs) $$figdir"; \
 
933
              $(mkinstalldirs) "$$figdir"; \
 
934
            fi; \
 
935
            figbase=`echo $$fig | sed -e 's/^.*\///'`; \
 
936
            echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
 
937
            $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
 
938
          done; \
 
939
        done
 
940
 
 
941
install-doc-html:
 
942
        echo install-html
 
943
 
 
944
install-doc-omf:
 
945
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
 
946
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
947
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
948
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
 
949
        done
 
950
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
 
951
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
952
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
953
        fi;
 
954
 
 
955
install-doc-dsk:
 
956
        echo install-dsk
 
957
 
 
958
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
 
959
uninstall-local:                                        \
 
960
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
 
961
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
 
962
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
 
963
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
 
964
#       $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
 
965
 
 
966
uninstall-doc-docs:
 
967
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
 
968
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
969
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
970
        done
 
971
 
 
972
uninstall-doc-figs:
 
973
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
 
974
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
975
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
976
        done;
 
977
 
 
978
uninstall-doc-omf:
 
979
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
 
980
          if test "x$(_ENABLE_SK)" == "xtrue"; then \
 
981
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
982
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
983
          fi; \
 
984
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
985
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
986
        done
 
987
dist-hook: doc-dist-hook
 
988
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
989
# Otherwise a system limit (for SysV at least) may be exceeded.
 
990
.NOEXPORT: