~ubuntu-branches/ubuntu/wily/mousetweaks/wily

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2012-09-06 09:07:35 UTC
  • mfrom: (1.1.68)
  • Revision ID: package-import@ubuntu.com-20120906090735-mnmwsxjmn4imihbh
Tags: 3.5.91-0ubuntu1
* New upstream release (LP: #1046584)
  - Misc changes, improvements and fixes:
    + Remove outdated help files - bgo#681268
  - Updated translations:
    + [ja] OKANO Takayoshi
    + [lt] Aurimas Černius

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.5 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, 2010, 2011 Free Software
6
 
# Foundation, 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
 
am__make_dryrun = \
43
 
  { \
44
 
    am__dry=no; \
45
 
    case $$MAKEFLAGS in \
46
 
      *\\[\ \   ]*) \
47
 
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
48
 
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
49
 
      *) \
50
 
        for am__flg in $$MAKEFLAGS; do \
51
 
          case $$am__flg in \
52
 
            *=*|--*) ;; \
53
 
            *n*) am__dry=yes; break;; \
54
 
          esac; \
55
 
        done;; \
56
 
    esac; \
57
 
    test $$am__dry = yes; \
58
 
  }
59
 
pkgdatadir = $(datadir)/@PACKAGE@
60
 
pkgincludedir = $(includedir)/@PACKAGE@
61
 
pkglibdir = $(libdir)/@PACKAGE@
62
 
pkglibexecdir = $(libexecdir)/@PACKAGE@
63
 
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
64
 
install_sh_DATA = $(install_sh) -c -m 644
65
 
install_sh_PROGRAM = $(install_sh) -c
66
 
install_sh_SCRIPT = $(install_sh) -c
67
 
INSTALL_HEADER = $(INSTALL_DATA)
68
 
transform = $(program_transform_name)
69
 
NORMAL_INSTALL = :
70
 
PRE_INSTALL = :
71
 
POST_INSTALL = :
72
 
NORMAL_UNINSTALL = :
73
 
PRE_UNINSTALL = :
74
 
POST_UNINSTALL = :
75
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
76
 
        $(top_srcdir)/gnome-doc-utils.make
77
 
subdir = help
78
 
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79
 
am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
80
 
        $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.ac
81
 
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
82
 
        $(ACLOCAL_M4)
83
 
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
84
 
CONFIG_HEADER = $(top_builddir)/config.h
85
 
CONFIG_CLEAN_FILES =
86
 
CONFIG_CLEAN_VPATH_FILES =
87
 
AM_V_GEN = $(am__v_GEN_@AM_V@)
88
 
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
89
 
am__v_GEN_0 = @echo "  GEN   " $@;
90
 
AM_V_at = $(am__v_at_@AM_V@)
91
 
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
92
 
am__v_at_0 = @
93
 
SOURCES =
94
 
DIST_SOURCES =
95
 
am__can_run_installinfo = \
96
 
  case $$AM_UPDATE_INFO_DIR in \
97
 
    n|no|NO) false;; \
98
 
    *) (install-info --version) >/dev/null 2>&1;; \
99
 
  esac
100
 
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101
 
ACLOCAL = @ACLOCAL@
102
 
ALL_LINGUAS = @ALL_LINGUAS@
103
 
AMTAR = @AMTAR@
104
 
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
105
 
AUTOCONF = @AUTOCONF@
106
 
AUTOHEADER = @AUTOHEADER@
107
 
AUTOMAKE = @AUTOMAKE@
108
 
AWK = @AWK@
109
 
CATALOGS = @CATALOGS@
110
 
CATOBJEXT = @CATOBJEXT@
111
 
CC = @CC@
112
 
CCDEPMODE = @CCDEPMODE@
113
 
CFLAGS = @CFLAGS@
114
 
CPP = @CPP@
115
 
CPPFLAGS = @CPPFLAGS@
116
 
CYGPATH_W = @CYGPATH_W@
117
 
DATADIRNAME = @DATADIRNAME@
118
 
DEFS = @DEFS@
119
 
DEPDIR = @DEPDIR@
120
 
DEPENDENCIES_CFLAGS = @DEPENDENCIES_CFLAGS@
121
 
DEPENDENCIES_LIBS = @DEPENDENCIES_LIBS@
122
 
DISABLE_DEPRECATED = @DISABLE_DEPRECATED@
123
 
DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
124
 
DOC_USER_FORMATS = @DOC_USER_FORMATS@
125
 
ECHO_C = @ECHO_C@
126
 
ECHO_N = @ECHO_N@
127
 
ECHO_T = @ECHO_T@
128
 
EGREP = @EGREP@
129
 
EXEEXT = @EXEEXT@
130
 
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
131
 
GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
132
 
GLIB_MKENUMS = @GLIB_MKENUMS@
133
 
GMOFILES = @GMOFILES@
134
 
GMSGFMT = @GMSGFMT@
135
 
GREP = @GREP@
136
 
GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
137
 
HELP_DIR = @HELP_DIR@
138
 
INSTALL = @INSTALL@
139
 
INSTALL_DATA = @INSTALL_DATA@
140
 
INSTALL_PROGRAM = @INSTALL_PROGRAM@
141
 
INSTALL_SCRIPT = @INSTALL_SCRIPT@
142
 
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
143
 
INSTOBJEXT = @INSTOBJEXT@
144
 
INTLLIBS = @INTLLIBS@
145
 
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
146
 
INTLTOOL_MERGE = @INTLTOOL_MERGE@
147
 
INTLTOOL_PERL = @INTLTOOL_PERL@
148
 
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
149
 
INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
150
 
INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
151
 
INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
152
 
INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
153
 
LDFLAGS = @LDFLAGS@
154
 
LIBOBJS = @LIBOBJS@
155
 
LIBS = @LIBS@
156
 
LN_S = @LN_S@
157
 
LTLIBOBJS = @LTLIBOBJS@
158
 
MAINT = @MAINT@
159
 
MAKEINFO = @MAKEINFO@
160
 
MKDIR_P = @MKDIR_P@
161
 
MKINSTALLDIRS = @MKINSTALLDIRS@
162
 
MSGFMT = @MSGFMT@
163
 
MSGFMT_OPTS = @MSGFMT_OPTS@
164
 
MSGMERGE = @MSGMERGE@
165
 
OBJEXT = @OBJEXT@
166
 
OMF_DIR = @OMF_DIR@
167
 
PACKAGE = @PACKAGE@
168
 
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
169
 
PACKAGE_NAME = @PACKAGE_NAME@
170
 
PACKAGE_STRING = @PACKAGE_STRING@
171
 
PACKAGE_TARNAME = @PACKAGE_TARNAME@
172
 
PACKAGE_URL = @PACKAGE_URL@
173
 
PACKAGE_VERSION = @PACKAGE_VERSION@
174
 
PATH_SEPARATOR = @PATH_SEPARATOR@
175
 
PKG_CONFIG = @PKG_CONFIG@
176
 
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
177
 
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
178
 
POFILES = @POFILES@
179
 
POSUB = @POSUB@
180
 
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
181
 
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
182
 
SET_MAKE = @SET_MAKE@
183
 
SHELL = @SHELL@
184
 
STRIP = @STRIP@
185
 
USE_NLS = @USE_NLS@
186
 
VERSION = @VERSION@
187
 
WARN_CFLAGS = @WARN_CFLAGS@
188
 
XGETTEXT = @XGETTEXT@
189
 
abs_builddir = @abs_builddir@
190
 
abs_srcdir = @abs_srcdir@
191
 
abs_top_builddir = @abs_top_builddir@
192
 
abs_top_srcdir = @abs_top_srcdir@
193
 
ac_ct_CC = @ac_ct_CC@
194
 
am__include = @am__include@
195
 
am__leading_dot = @am__leading_dot@
196
 
am__quote = @am__quote@
197
 
am__tar = @am__tar@
198
 
am__untar = @am__untar@
199
 
bindir = @bindir@
200
 
build_alias = @build_alias@
201
 
builddir = @builddir@
202
 
datadir = @datadir@
203
 
datarootdir = @datarootdir@
204
 
docdir = @docdir@
205
 
dvidir = @dvidir@
206
 
exec_prefix = @exec_prefix@
207
 
gsettingsschemadir = @gsettingsschemadir@
208
 
host_alias = @host_alias@
209
 
htmldir = @htmldir@
210
 
includedir = @includedir@
211
 
infodir = @infodir@
212
 
install_sh = @install_sh@
213
 
intltool__v_merge_options_ = @intltool__v_merge_options_@
214
 
intltool__v_merge_options_0 = @intltool__v_merge_options_0@
215
 
libdir = @libdir@
216
 
libexecdir = @libexecdir@
217
 
localedir = @localedir@
218
 
localstatedir = @localstatedir@
219
 
mandir = @mandir@
220
 
mkdir_p = @mkdir_p@
221
 
oldincludedir = @oldincludedir@
222
 
pdfdir = @pdfdir@
223
 
prefix = @prefix@
224
 
program_transform_name = @program_transform_name@
225
 
psdir = @psdir@
226
 
sbindir = @sbindir@
227
 
sharedstatedir = @sharedstatedir@
228
 
srcdir = @srcdir@
229
 
sysconfdir = @sysconfdir@
230
 
target_alias = @target_alias@
231
 
top_build_prefix = @top_build_prefix@
232
 
top_builddir = @top_builddir@
233
 
top_srcdir = @top_srcdir@
234
 
AUTOMAKE_OPTIONS = -Wno-portability
235
 
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
236
 
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
237
 
_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),               \
238
 
        $(filter $(LINGUAS),$(DOC_LINGUAS)),                                    \
239
 
        $(DOC_LINGUAS))
240
 
 
241
 
_DOC_ABS_SRCDIR = @abs_srcdir@
242
 
_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
243
 
@ENABLE_SK_TRUE@_ENABLE_SK = true
244
 
 
245
 
################################################################################
246
 
GDU_V_XML2PO = $(GDU__v_XML2PO_$(V))
247
 
GDU__v_XML2PO_ = $(GDU__v_XML2PO_$(AM_DEFAULT_VERBOSITY))
248
 
GDU__v_XML2PO_0 = @echo "  XML2PO" $@;
249
 
GDU_V_MSGFMT = $(GDU__v_MSGFMT_$(V))
250
 
GDU__v_MSGFMT_ = $(GDU__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
251
 
GDU__v_MSGFMT_0 = @echo "  MSGFMT" $@;
252
 
GDU_V_DB2OMF = $(GDU__v_DB2OMF_$(V))
253
 
GDU__v_DB2OMF_ = $(GDU__v_DB2OMF_$(AM_DEFAULT_VERBOSITY))
254
 
GDU__v_DB2OMF_0 = @echo "  DB2OMF" $@;
255
 
GDU_V_DB2HTM = $(GDU__v_DB2HTM_$(V))
256
 
GDU__v_DB2HTM_ = $(GDU__v_DB2HTM_$(AM_DEFAULT_VERBOSITY))
257
 
GDU__v_DB2HTM_0 = @echo "  DB2HTM" $@;
258
 
 
259
 
################################################################################
260
 
db2omf_args = \
261
 
        --stringparam db2omf.basename $(DOC_MODULE)                             \
262
 
        --stringparam db2omf.format $(3)                                        \
263
 
        --stringparam db2omf.dtd                                                \
264
 
        $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1              \
265
 
                | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/')                     \
266
 
        --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
267
 
        --stringparam db2omf.omf_dir "$(OMF_DIR)"                               \
268
 
        --stringparam db2omf.help_dir "$(HELP_DIR)"                             \
269
 
        --stringparam db2omf.omf_in "$(_DOC_OMF_IN)"                            \
270
 
        $(if $(_ENABLE_SK),                                                     \
271
 
          --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)")            \
272
 
        $(_db2omf) $(2)
273
 
 
274
 
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
275
 
_DOC_OMF_DB = $(if $(_DOC_OMF_IN),                                              \
276
 
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
277
 
 
278
 
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN),                                            \
279
 
        $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
280
 
 
281
 
 
282
 
# FIXME
283
 
_DOC_OMF_ALL = \
284
 
        $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB))             \
285
 
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
286
 
 
287
 
 
288
 
################################################################################
289
 
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
290
 
_DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
291
 
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
292
 
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
293
 
_DOC_C_DOCS = \
294
 
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
295
 
        $(_DOC_C_PAGES)         $(_DOC_C_MODULE)
296
 
 
297
 
_DOC_C_DOCS_NOENT = \
298
 
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
299
 
        $(_DOC_C_PAGES)
300
 
 
301
 
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
302
 
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
303
 
        $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
304
 
 
305
 
 
306
 
# FIXME: probably have to shell escape to determine the file names
307
 
_DOC_C_HTML = $(foreach f,                                              \
308
 
        $(shell xsltproc --xinclude                                     \
309
 
          --stringparam db.chunk.basename "$(DOC_MODULE)"               \
310
 
          $(_chunks) "C/$(DOC_MODULE).xml"),                            \
311
 
        C/$(f).xhtml)
312
 
 
313
 
 
314
 
###############################################################################
315
 
_DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID),                                     \
316
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
317
 
 
318
 
_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
319
 
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
320
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
321
 
 
322
 
_DOC_LC_PAGES = \
323
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES),       \
324
 
                $(lc)/$(notdir $(page)) ))
325
 
 
326
 
_DOC_LC_INCLUDES = \
327
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
328
 
                $(lc)/$(notdir $(inc)) ))
329
 
 
330
 
 
331
 
# FIXME: probably have to shell escape to determine the file names
332
 
_DOC_LC_HTML = \
333
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML),         \
334
 
                $(lc)/$(notdir $(doc)) ))
335
 
 
336
 
_DOC_LC_DOCS = \
337
 
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)     $(_DOC_LC_PAGES)        \
338
 
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
339
 
 
340
 
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
341
 
        $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
342
 
 
343
 
_DOC_SRC_FIGURES = \
344
 
        $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS),   \
345
 
                $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
346
 
 
347
 
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot,$(if $(DOC_ID),$(DOC_ID).pot))
348
 
 
349
 
################################################################################
350
 
_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
351
 
        $(_DOC_C_HTML) $(_DOC_LC_HTML))
352
 
 
353
 
_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
354
 
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
355
 
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
356
 
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
357
 
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
358
 
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
359
 
DOC_MODULE = mousetweaks
360
 
DOC_ENTITIES = legal.xml
361
 
DOC_INCLUDES = 
362
 
DOC_LINGUAS = ca cs de el en_GB es fr it oc sl sv zh_CN
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
 
$(top_srcdir)/gnome-doc-utils.make:
388
 
 
389
 
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
390
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
391
 
 
392
 
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
393
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
394
 
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
395
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
396
 
$(am__aclocal_m4_deps):
397
 
tags: TAGS
398
 
TAGS:
399
 
 
400
 
ctags: CTAGS
401
 
CTAGS:
402
 
 
403
 
 
404
 
distdir: $(DISTFILES)
405
 
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
406
 
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407
 
        list='$(DISTFILES)'; \
408
 
          dist_files=`for file in $$list; do echo $$file; done | \
409
 
          sed -e "s|^$$srcdirstrip/||;t" \
410
 
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
411
 
        case $$dist_files in \
412
 
          */*) $(MKDIR_P) `echo "$$dist_files" | \
413
 
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
414
 
                           sort -u` ;; \
415
 
        esac; \
416
 
        for file in $$dist_files; do \
417
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
418
 
          if test -d $$d/$$file; then \
419
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
420
 
            if test -d "$(distdir)/$$file"; then \
421
 
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
422
 
            fi; \
423
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
424
 
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
425
 
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
426
 
            fi; \
427
 
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
428
 
          else \
429
 
            test -f "$(distdir)/$$file" \
430
 
            || cp -p $$d/$$file "$(distdir)/$$file" \
431
 
            || exit 1; \
432
 
          fi; \
433
 
        done
434
 
        $(MAKE) $(AM_MAKEFLAGS) \
435
 
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
436
 
          dist-hook
437
 
check-am: all-am
438
 
check: check-am
439
 
all-am: Makefile
440
 
installdirs:
441
 
install: install-am
442
 
install-exec: install-exec-am
443
 
install-data: install-data-am
444
 
uninstall: uninstall-am
445
 
 
446
 
install-am: all-am
447
 
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
448
 
 
449
 
installcheck: installcheck-am
450
 
install-strip:
451
 
        if test -z '$(STRIP)'; then \
452
 
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
453
 
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
454
 
              install; \
455
 
        else \
456
 
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
457
 
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
458
 
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
459
 
        fi
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-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-local
527
 
 
528
 
pdf: pdf-am
529
 
 
530
 
pdf-am:
531
 
 
532
 
ps: ps-am
533
 
 
534
 
ps-am:
535
 
 
536
 
uninstall-am: uninstall-local
537
 
 
538
 
.MAKE: install-am install-strip
539
 
 
540
 
.PHONY: all all-am check check-am clean clean-generic clean-local \
541
 
        dist-hook distclean distclean-generic distclean-local distdir \
542
 
        dvi dvi-am html html-am info info-am install install-am \
543
 
        install-data install-data-am install-data-local install-dvi \
544
 
        install-dvi-am install-exec install-exec-am install-html \
545
 
        install-html-am install-info install-info-am install-man \
546
 
        install-pdf install-pdf-am install-ps install-ps-am \
547
 
        install-strip installcheck installcheck-am installdirs \
548
 
        maintainer-clean maintainer-clean-generic \
549
 
        maintainer-clean-local mostlyclean mostlyclean-generic \
550
 
        mostlyclean-local pdf pdf-am ps ps-am uninstall uninstall-am \
551
 
        uninstall-local
552
 
 
553
 
 
554
 
DOC_H_FILE ?=
555
 
 
556
 
DOC_H_DOCS ?=
557
 
 
558
 
$(DOC_H_FILE): $(DOC_H_DOCS);
559
 
        @rm -f $@.tmp; touch $@.tmp;
560
 
        echo 'const gchar* documentation_credits[] = {' >> $@.tmp
561
 
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
562
 
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
563
 
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
564
 
          xsltproc --path "$$xmlpath" $(_credits) $$doc; \
565
 
        done | sort | uniq \
566
 
          | 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}}' \
567
 
          | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
568
 
        echo '  NULL' >> $@.tmp
569
 
        echo '};' >> $@.tmp
570
 
        echo >> $@.tmp
571
 
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
572
 
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
573
 
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
574
 
          docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
575
 
            | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
576
 
          echo $$xmlpath; \
577
 
          ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
578
 
          for id in $$ids; do \
579
 
            echo '#define HELP_'`echo $$docid`'_'`echo $$id \
580
 
              | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
581
 
          done; \
582
 
          echo >> $@.tmp; \
583
 
        done;
584
 
        cp $@.tmp $@ && rm -f $@.tmp
585
 
 
586
 
dist-check-gdu:
587
 
@HAVE_GNOME_DOC_UTILS_FALSE@    @echo "*** GNOME Doc Utils must be installed in order to make dist"
588
 
@HAVE_GNOME_DOC_UTILS_FALSE@    @false
589
 
 
590
 
.PHONY: dist-doc-header
591
 
dist-doc-header: $(DOC_H_FILE)
592
 
        @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
593
 
        echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
594
 
        $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
595
 
 
596
 
doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
597
 
 
598
 
.PHONY: clean-doc-header
599
 
clean-local: $(_clean_doc_header)
600
 
distclean-local: $(_clean_doc_header)
601
 
mostlyclean-local: $(_clean_doc_header)
602
 
maintainer-clean-local: $(_clean_doc_header)
603
 
clean-doc-header:
604
 
        rm -f $(DOC_H_FILE)
605
 
 
606
 
all: $(DOC_H_FILE)
607
 
 
608
 
################################################################################
609
 
 
610
 
DOC_MODULE ?=
611
 
 
612
 
DOC_ID ?=
613
 
 
614
 
DOC_PAGES ?=
615
 
 
616
 
DOC_ENTITIES ?=
617
 
 
618
 
DOC_INCLUDES ?=
619
 
 
620
 
DOC_FIGURES ?=
621
 
 
622
 
DOC_FORMATS ?= docbook
623
 
 
624
 
DOC_LINGUAS ?=
625
 
 
626
 
################################################################################
627
 
 
628
 
_xml2po ?= `which xml2po`
629
 
 
630
 
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
631
 
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
632
 
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
633
 
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
634
 
_ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl
635
 
@ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
636
 
@ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
637
 
@ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
638
 
 
639
 
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
640
 
$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
641
 
        @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
642
 
          echo "The file '$(_skcontentslist)' does not exist." >&2;             \
643
 
          echo "Please check your ScrollKeeper installation." >&2;              \
644
 
          exit 1; }
645
 
        $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
646
 
 
647
 
$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
648
 
$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
649
 
@ENABLE_SK_TRUE@        @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
650
 
@ENABLE_SK_TRUE@          echo "The file '$(_skcontentslist)' does not exist" >&2;              \
651
 
@ENABLE_SK_TRUE@          echo "Please check your ScrollKeeper installation." >&2;              \
652
 
@ENABLE_SK_TRUE@          exit 1; }
653
 
        $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
654
 
 
655
 
.PHONY: omf
656
 
omf: $(_DOC_OMF_ALL)
657
 
 
658
 
.PHONY: po
659
 
po: $(_DOC_POFILES)
660
 
 
661
 
.PHONY: mo
662
 
mo: $(_DOC_MOFILES)
663
 
 
664
 
$(_DOC_POFILES):
665
 
        @if ! test -d $(dir $@); then \
666
 
          echo "mkdir $(dir $@)"; \
667
 
          mkdir "$(dir $@)"; \
668
 
        fi
669
 
        @if test ! -f $@ -a -f $(srcdir)/$@; then \
670
 
          echo "cp $(srcdir)/$@ $@"; \
671
 
          cp "$(srcdir)/$@" "$@"; \
672
 
        fi;
673
 
        @docs=; \
674
 
        list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
675
 
          docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
676
 
        done; \
677
 
        if ! test -f $@; then \
678
 
          echo "(cd $(dir $@) && \
679
 
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
680
 
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
681
 
          (cd $(dir $@) && \
682
 
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
683
 
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
684
 
        else \
685
 
          echo "(cd $(dir $@) && \
686
 
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
687
 
          (cd $(dir $@) && \
688
 
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
689
 
        fi
690
 
 
691
 
$(_DOC_MOFILES): %.mo: %.po
692
 
        $(AM_V_at)if ! test -d $(dir $@); then mkdir "$(dir $@)"; fi
693
 
        $(GDU_V_MSGFMT)msgfmt -o $@ $<
694
 
 
695
 
# FIXME: fix the dependancy
696
 
# FIXME: hook xml2po up
697
 
$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
698
 
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
699
 
        $(AM_V_at)if ! test -d $(dir $@); then mkdir $(dir $@); fi
700
 
        $(GDU_V_XML2PO)if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
701
 
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
702
 
        if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
703
 
        (cd $(dir $@) && \
704
 
          $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
705
 
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
706
 
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
707
 
.PHONY: pot
708
 
pot: $(_DOC_POT)
709
 
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
710
 
        $(GDU_V_XML2PO)$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
711
 
 
712
 
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
713
 
        $(GDU_V_DB2HTM)xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
714
 
 
715
 
################################################################################
716
 
 
717
 
all:                                                    \
718
 
        $(_DOC_C_DOCS)          $(_DOC_LC_DOCS)         \
719
 
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
720
 
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
721
 
 
722
 
################################################################################
723
 
 
724
 
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
725
 
 
726
 
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
727
 
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
728
 
clean-doc-lc:
729
 
        rm -f $(_DOC_LC_DOCS)
730
 
        rm -f $(_DOC_MOFILES)
731
 
        @list='$(_DOC_POFILES)'; for po in $$list; do \
732
 
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
733
 
            echo "rm -f $$po"; \
734
 
            rm -f "$$po"; \
735
 
          fi; \
736
 
        done
737
 
#       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
738
 
        @for lc in C $(_DOC_REAL_LINGUAS); do \
739
 
          if test -f "$$lc/.xml2po.mo"; then \
740
 
            echo "rm -f $$lc/.xml2po.mo"; \
741
 
            rm -f "$$lc/.xml2po.mo"; \
742
 
          fi; \
743
 
        done
744
 
clean-doc-dir: clean-doc-lc
745
 
        @for lc in C $(_DOC_REAL_LINGUAS); do \
746
 
          for dir in `find $$lc -depth -type d`; do \
747
 
            if ! test $$dir -ef $(srcdir)/$$dir; then \
748
 
              echo "rmdir $$dir"; \
749
 
              rmdir "$$dir"; \
750
 
           fi; \
751
 
          done; \
752
 
        done
753
 
 
754
 
clean-local:                                            \
755
 
        $(_clean_omf)           $(_clean_dsk)           \
756
 
        $(_clean_lc)            $(_clean_dir)
757
 
distclean-local:                                        \
758
 
        $(_clean_omf)           $(_clean_dsk)           \
759
 
        $(_clean_lc)            $(_clean_dir)
760
 
mostlyclean-local:                                      \
761
 
        $(_clean_omf)           $(_clean_dsk)           \
762
 
        $(_clean_lc)            $(_clean_dir)
763
 
maintainer-clean-local:                                 \
764
 
        $(_clean_omf)           $(_clean_dsk)           \
765
 
        $(_clean_lc)            $(_clean_dir)
766
 
 
767
 
################################################################################
768
 
 
769
 
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
770
 
doc-dist-hook:                                          \
771
 
        $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
772
 
        $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
773
 
        $(if $(_DOC_OMF_IN),dist-doc-omf)
774
 
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
775
 
 
776
 
dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
777
 
        @for lc in C $(_DOC_REAL_LINGUAS); do \
778
 
          echo " $(mkinstalldirs) $(distdir)/$$lc"; \
779
 
          $(mkinstalldirs) "$(distdir)/$$lc"; \
780
 
        done
781
 
        @list='$(_DOC_C_DOCS)'; \
782
 
        for doc in $$list; do \
783
 
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
784
 
            docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
785
 
            if ! test -d "$(distdir)/$$docdir"; then \
786
 
              echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
787
 
              $(mkinstalldirs) "$(distdir)/$$docdir"; \
788
 
            fi; \
789
 
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
790
 
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
791
 
        done
792
 
        @list='$(_DOC_LC_DOCS)'; \
793
 
        for doc in $$list; do \
794
 
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
795
 
            docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
796
 
            if ! test -d "$(distdir)/$$docdir"; then \
797
 
              echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
798
 
              $(mkinstalldirs) "$(distdir)/$$docdir"; \
799
 
            fi; \
800
 
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
801
 
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
802
 
        done
803
 
        @list='$(_DOC_POFILES)'; \
804
 
        for doc in $$list; do \
805
 
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
806
 
            docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
807
 
            if ! test -d "$(distdir)/$$docdir"; then \
808
 
              echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
809
 
              $(mkinstalldirs) "$(distdir)/$$docdir"; \
810
 
            fi; \
811
 
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
812
 
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
813
 
        done
814
 
 
815
 
dist-doc-figs: $(_DOC_SRC_FIGURES)
816
 
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
817
 
        for fig in $$list; do \
818
 
          if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
819
 
          if test -f "$$d$$fig"; then \
820
 
            figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
821
 
            if ! test -d "$(distdir)/$$figdir"; then \
822
 
              echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
823
 
              $(mkinstalldirs) "$(distdir)/$$figdir"; \
824
 
            fi; \
825
 
            echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
826
 
            $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
827
 
          fi; \
828
 
        done;
829
 
 
830
 
dist-doc-omf:
831
 
        @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
832
 
        echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
833
 
        $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
834
 
 
835
 
dist-doc-dsk:
836
 
        @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
837
 
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
838
 
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
839
 
 
840
 
################################################################################
841
 
 
842
 
.PHONY: check-doc-docs check-doc-omf
843
 
check:                                                  \
844
 
        $(if $(DOC_MODULE),check-doc-docs)              \
845
 
        $(if $(DOC_ID),check-doc-pages)                 \
846
 
        $(if $(_DOC_OMF_IN),check-doc-omf)
847
 
 
848
 
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
849
 
        @for lc in C $(_DOC_REAL_LINGUAS); do \
850
 
          if test -f "$$lc"; \
851
 
            then d=; \
852
 
            xmlpath="$$lc"; \
853
 
          else \
854
 
            d="$(srcdir)/"; \
855
 
            xmlpath="$$lc:$(srcdir)/$$lc"; \
856
 
          fi; \
857
 
          echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
858
 
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
859
 
        done
860
 
 
861
 
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
862
 
        for lc in C $(_DOC_REAL_LINGUAS); do \
863
 
          if test -f "$$lc"; \
864
 
            then d=; \
865
 
            xmlpath="$$lc"; \
866
 
          else \
867
 
            d="$(srcdir)/"; \
868
 
            xmlpath="$$lc:$(srcdir)/$$lc"; \
869
 
          fi; \
870
 
          for page in $(DOC_PAGES); do \
871
 
            echo "xmllint --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
872
 
            xmllint --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
873
 
          done; \
874
 
        done
875
 
 
876
 
check-doc-omf: $(_DOC_OMF_ALL)
877
 
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
878
 
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
879
 
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
880
 
        done
881
 
 
882
 
################################################################################
883
 
 
884
 
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
885
 
 
886
 
install-data-local:                                     \
887
 
        $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
888
 
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
889
 
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
890
 
        $(if $(_DOC_OMF_IN),install-doc-omf)
891
 
#       $(if $(_DOC_DSK_IN),install-doc-dsk)
892
 
 
893
 
install-doc-docs:
894
 
        @for lc in C $(_DOC_REAL_LINGUAS); do \
895
 
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
896
 
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
897
 
        done
898
 
        @list='$(_DOC_C_DOCS)'; for doc in $$list; do \
899
 
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
900
 
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
901
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
902
 
          if ! test -d "$$docdir"; then \
903
 
            echo "$(mkinstalldirs) $$docdir"; \
904
 
            $(mkinstalldirs) "$$docdir"; \
905
 
          fi; \
906
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
907
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
908
 
        done
909
 
        @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \
910
 
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
911
 
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
912
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
913
 
          if ! test -d "$$docdir"; then \
914
 
            echo "$(mkinstalldirs) $$docdir"; \
915
 
            $(mkinstalldirs) "$$docdir"; \
916
 
          fi; \
917
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
918
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
919
 
        done
920
 
 
921
 
install-doc-figs:
922
 
        @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
923
 
          for lc in C $(_DOC_REAL_LINGUAS); do \
924
 
            figsymlink=false; \
925
 
            if test -f "$$lc/$$fig"; then \
926
 
              figfile="$$lc/$$fig"; \
927
 
            elif test -f "$(srcdir)/$$lc/$$fig"; then \
928
 
              figfile="$(srcdir)/$$lc/$$fig"; \
929
 
            else \
930
 
              figsymlink=true; \
931
 
            fi; \
932
 
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
933
 
            figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
934
 
            if ! test -d "$$figdir"; then \
935
 
              echo "$(mkinstalldirs) $$figdir"; \
936
 
              $(mkinstalldirs) "$$figdir"; \
937
 
            fi; \
938
 
            figbase=`echo $$fig | sed -e 's/^.*\///'`; \
939
 
            if $$figsymlink; then \
940
 
              echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
941
 
              ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
942
 
            else \
943
 
              echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
944
 
              $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
945
 
            fi; \
946
 
          done; \
947
 
        done
948
 
 
949
 
install-doc-html:
950
 
        echo install-html
951
 
 
952
 
install-doc-omf:
953
 
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
954
 
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
955
 
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
956
 
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
957
 
        done
958
 
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
959
 
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
960
 
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
961
 
        fi;
962
 
 
963
 
install-doc-dsk:
964
 
        echo install-dsk
965
 
 
966
 
################################################################################
967
 
 
968
 
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
969
 
uninstall-local:                                        \
970
 
        $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
971
 
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
972
 
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
973
 
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
974
 
#       $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
975
 
 
976
 
uninstall-doc-docs:
977
 
        @list='$(_DOC_C_DOCS)'; for doc in $$list; do \
978
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
979
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
980
 
        done
981
 
        @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \
982
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
983
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
984
 
        done
985
 
 
986
 
uninstall-doc-figs:
987
 
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
988
 
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
989
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
990
 
        done;
991
 
 
992
 
uninstall-doc-omf:
993
 
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
994
 
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
995
 
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
996
 
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
997
 
          fi; \
998
 
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
999
 
          rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1000
 
        done
1001
 
dist-hook: doc-dist-hook
1002
 
 
1003
 
-include $(top_srcdir)/git.mk
1004
 
 
1005
 
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1006
 
# Otherwise a system limit (for SysV at least) may be exceeded.
1007
 
.NOEXPORT: