~timo-jyrinki/ubuntu/trusty/pitivi/backport_utopic_fixes

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-08-15 02:32:20 UTC
  • mfrom: (1.5.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110815023220-x2n5l0i4deiqn7dn
Tags: 0.14.2-0ubuntu1
* New upstream version.
  - New Mallard format help
* debian/control:
  - Add gnome-doc-utils to build-depends
  - Bump pygtk minimum to 2.24
* debian/patches/01_lpi.patch
  - Move LPI items below User Manual in Help menu
* debian/watch: Watch for 0.14.* tar.bz2

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