~ubuntu-branches/debian/stretch/sensors-applet/stretch

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Sam Morris
  • Date: 2013-10-13 22:27:47 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20131013222747-onim72lofoqew23j
Tags: 3.0.0+git4-2
Re-enable -Wl,--as-needed; the dh-autoreconf optino enables support for
it, but doesn't actually cause it to be used.

Show diffs side-by-side

added added

removed removed

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