]> git.sur5r.net Git - glabels/blob - help/Makefile.in
Pre-depend on dpkg >= 1.15.6~ as we are using xz.
[glabels] / help / Makefile.in
1 # Makefile.in generated by automake 1.11.3 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 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
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)/config.h
69 CONFIG_CLEAN_FILES =
70 CONFIG_CLEAN_VPATH_FILES =
71 AM_V_GEN = $(am__v_GEN_@AM_V@)
72 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
73 am__v_GEN_0 = @echo "  GEN   " $@;
74 AM_V_at = $(am__v_at_@AM_V@)
75 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
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 AUTOCONF = @AUTOCONF@
86 AUTOHEADER = @AUTOHEADER@
87 AUTOMAKE = @AUTOMAKE@
88 AWK = @AWK@
89 CAIRO_REQUIRED = @CAIRO_REQUIRED@
90 CATALOGS = @CATALOGS@
91 CATOBJEXT = @CATOBJEXT@
92 CC = @CC@
93 CCDEPMODE = @CCDEPMODE@
94 CFLAGS = @CFLAGS@
95 CPP = @CPP@
96 CPPFLAGS = @CPPFLAGS@
97 CYGPATH_W = @CYGPATH_W@
98 DATADIRNAME = @DATADIRNAME@
99 DEFS = @DEFS@
100 DEPDIR = @DEPDIR@
101 DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@
102 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
103 DLLTOOL = @DLLTOOL@
104 DOC_USER_FORMATS = @DOC_USER_FORMATS@
105 DSYMUTIL = @DSYMUTIL@
106 DUMPBIN = @DUMPBIN@
107 ECHO_C = @ECHO_C@
108 ECHO_N = @ECHO_N@
109 ECHO_T = @ECHO_T@
110 EGREP = @EGREP@
111 EXEEXT = @EXEEXT@
112 FGREP = @FGREP@
113 GDK_PIXBUF_CSOURCE = @GDK_PIXBUF_CSOURCE@
114 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
115 GLABELS_BRANCH = @GLABELS_BRANCH@
116 GLABELS_CFLAGS = @GLABELS_CFLAGS@
117 GLABELS_LIBS = @GLABELS_LIBS@
118 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
119 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
120 GLIB_REQUIRED = @GLIB_REQUIRED@
121 GMOFILES = @GMOFILES@
122 GMSGFMT = @GMSGFMT@
123 GREP = @GREP@
124 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
125 GTKDOC_CHECK = @GTKDOC_CHECK@
126 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
127 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
128 GTKDOC_MKPDF = @GTKDOC_MKPDF@
129 GTKDOC_REBASE = @GTKDOC_REBASE@
130 GTK_REQUIRED = @GTK_REQUIRED@
131 GTK_UPDATE_ICON_CACHE = @GTK_UPDATE_ICON_CACHE@
132 HELP_DIR = @HELP_DIR@
133 HTML_DIR = @HTML_DIR@
134 INSTALL = @INSTALL@
135 INSTALL_DATA = @INSTALL_DATA@
136 INSTALL_PROGRAM = @INSTALL_PROGRAM@
137 INSTALL_SCRIPT = @INSTALL_SCRIPT@
138 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
139 INSTOBJEXT = @INSTOBJEXT@
140 INTLLIBS = @INTLLIBS@
141 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
142 INTLTOOL_MERGE = @INTLTOOL_MERGE@
143 INTLTOOL_PERL = @INTLTOOL_PERL@
144 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
145 INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
146 INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
147 INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
148 INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
149 LD = @LD@
150 LDFLAGS = @LDFLAGS@
151 LIBBARCODE_CFLAGS = @LIBBARCODE_CFLAGS@
152 LIBBARCODE_LIBS = @LIBBARCODE_LIBS@
153 LIBBARCODE_REQUIRED = @LIBBARCODE_REQUIRED@
154 LIBEBOOK_CFLAGS = @LIBEBOOK_CFLAGS@
155 LIBEBOOK_LIBS = @LIBEBOOK_LIBS@
156 LIBEBOOK_REQUIRED = @LIBEBOOK_REQUIRED@
157 LIBGLABELS_API_VERSION = @LIBGLABELS_API_VERSION@
158 LIBGLABELS_BRANCH = @LIBGLABELS_BRANCH@
159 LIBGLABELS_CFLAGS = @LIBGLABELS_CFLAGS@
160 LIBGLABELS_LIBS = @LIBGLABELS_LIBS@
161 LIBGLBARCODE_API_VERSION = @LIBGLBARCODE_API_VERSION@
162 LIBGLBARCODE_BRANCH = @LIBGLBARCODE_BRANCH@
163 LIBGLBARCODE_CFLAGS = @LIBGLBARCODE_CFLAGS@
164 LIBGLBARCODE_LIBS = @LIBGLBARCODE_LIBS@
165 LIBIEC16022_CFLAGS = @LIBIEC16022_CFLAGS@
166 LIBIEC16022_LIBS = @LIBIEC16022_LIBS@
167 LIBIEC16022_REQUIRED = @LIBIEC16022_REQUIRED@
168 LIBOBJS = @LIBOBJS@
169 LIBQRENCODE_CFLAGS = @LIBQRENCODE_CFLAGS@
170 LIBQRENCODE_LIBS = @LIBQRENCODE_LIBS@
171 LIBQRENCODE_REQUIRED = @LIBQRENCODE_REQUIRED@
172 LIBRSVG_REQUIRED = @LIBRSVG_REQUIRED@
173 LIBS = @LIBS@
174 LIBTOOL = @LIBTOOL@
175 LIBXML_REQUIRED = @LIBXML_REQUIRED@
176 LIBZINT_CFLAGS = @LIBZINT_CFLAGS@
177 LIBZINT_LIBS = @LIBZINT_LIBS@
178 LIBZINT_REQUIRED = @LIBZINT_REQUIRED@
179 LIPO = @LIPO@
180 LN_S = @LN_S@
181 LTLIBOBJS = @LTLIBOBJS@
182 MAINT = @MAINT@
183 MAKEINFO = @MAKEINFO@
184 MANIFEST_TOOL = @MANIFEST_TOOL@
185 MKDIR_P = @MKDIR_P@
186 MKINSTALLDIRS = @MKINSTALLDIRS@
187 MSGFMT = @MSGFMT@
188 MSGFMT_OPTS = @MSGFMT_OPTS@
189 MSGMERGE = @MSGMERGE@
190 NM = @NM@
191 NMEDIT = @NMEDIT@
192 OBJDUMP = @OBJDUMP@
193 OBJEXT = @OBJEXT@
194 OMF_DIR = @OMF_DIR@
195 OTOOL = @OTOOL@
196 OTOOL64 = @OTOOL64@
197 PACKAGE = @PACKAGE@
198 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
199 PACKAGE_NAME = @PACKAGE_NAME@
200 PACKAGE_STRING = @PACKAGE_STRING@
201 PACKAGE_TARNAME = @PACKAGE_TARNAME@
202 PACKAGE_URL = @PACKAGE_URL@
203 PACKAGE_VERSION = @PACKAGE_VERSION@
204 PANGO_REQUIRED = @PANGO_REQUIRED@
205 PATH_SEPARATOR = @PATH_SEPARATOR@
206 PKG_CONFIG = @PKG_CONFIG@
207 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
208 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209 POFILES = @POFILES@
210 POSUB = @POSUB@
211 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
212 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
213 RANLIB = @RANLIB@
214 SED = @SED@
215 SET_MAKE = @SET_MAKE@
216 SHELL = @SHELL@
217 STRIP = @STRIP@
218 USE_NLS = @USE_NLS@
219 VERSION = @VERSION@
220 WARN_CFLAGS = @WARN_CFLAGS@
221 XGETTEXT = @XGETTEXT@
222 abs_builddir = @abs_builddir@
223 abs_srcdir = @abs_srcdir@
224 abs_top_builddir = @abs_top_builddir@
225 abs_top_srcdir = @abs_top_srcdir@
226 ac_ct_AR = @ac_ct_AR@
227 ac_ct_CC = @ac_ct_CC@
228 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
229 am__include = @am__include@
230 am__leading_dot = @am__leading_dot@
231 am__quote = @am__quote@
232 am__tar = @am__tar@
233 am__untar = @am__untar@
234 bindir = @bindir@
235 build = @build@
236 build_alias = @build_alias@
237 build_cpu = @build_cpu@
238 build_os = @build_os@
239 build_vendor = @build_vendor@
240 builddir = @builddir@
241 datadir = @datadir@
242 datarootdir = @datarootdir@
243 docdir = @docdir@
244 dvidir = @dvidir@
245 exec_prefix = @exec_prefix@
246 gsettingsschemadir = @gsettingsschemadir@
247 host = @host@
248 host_alias = @host_alias@
249 host_cpu = @host_cpu@
250 host_os = @host_os@
251 host_vendor = @host_vendor@
252 htmldir = @htmldir@
253 includedir = @includedir@
254 infodir = @infodir@
255 install_sh = @install_sh@
256 intltool__v_merge_options_ = @intltool__v_merge_options_@
257 intltool__v_merge_options_0 = @intltool__v_merge_options_0@
258 libdir = @libdir@
259 libexecdir = @libexecdir@
260 localedir = @localedir@
261 localstatedir = @localstatedir@
262 mandir = @mandir@
263 mkdir_p = @mkdir_p@
264 oldincludedir = @oldincludedir@
265 pdfdir = @pdfdir@
266 prefix = @prefix@
267 program_transform_name = @program_transform_name@
268 psdir = @psdir@
269 sbindir = @sbindir@
270 sharedstatedir = @sharedstatedir@
271 srcdir = @srcdir@
272 sysconfdir = @sysconfdir@
273 target_alias = @target_alias@
274 top_build_prefix = @top_build_prefix@
275 top_builddir = @top_builddir@
276 top_srcdir = @top_srcdir@
277 _clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
278 _DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
279 _DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),               \
280         $(filter $(LINGUAS),$(DOC_LINGUAS)),                                    \
281         $(DOC_LINGUAS))
282
283 _DOC_ABS_SRCDIR = @abs_srcdir@
284 _xml2po_mode = $(if $(DOC_ID),mallard,docbook)
285 @ENABLE_SK_TRUE@_ENABLE_SK = true
286
287 ################################################################################
288 GDU_V_XML2PO = $(GDU__v_XML2PO_$(V))
289 GDU__v_XML2PO_ = $(GDU__v_XML2PO_$(AM_DEFAULT_VERBOSITY))
290 GDU__v_XML2PO_0 = @echo "  XML2PO" $@;
291 GDU_V_MSGFMT = $(GDU__v_MSGFMT_$(V))
292 GDU__v_MSGFMT_ = $(GDU__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
293 GDU__v_MSGFMT_0 = @echo "  MSGFMT" $@;
294 GDU_V_DB2OMF = $(GDU__v_DB2OMF_$(V))
295 GDU__v_DB2OMF_ = $(GDU__v_DB2OMF_$(AM_DEFAULT_VERBOSITY))
296 GDU__v_DB2OMF_0 = @echo "  DB2OMF" $@;
297 GDU_V_DB2HTM = $(GDU__v_DB2HTM_$(V))
298 GDU__v_DB2HTM_ = $(GDU__v_DB2HTM_$(AM_DEFAULT_VERBOSITY))
299 GDU__v_DB2HTM_0 = @echo "  DB2HTM" $@;
300
301 ################################################################################
302 db2omf_args = \
303         --stringparam db2omf.basename $(DOC_MODULE)                             \
304         --stringparam db2omf.format $(3)                                        \
305         --stringparam db2omf.dtd                                                \
306         $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1              \
307                 | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/')                     \
308         --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
309         --stringparam db2omf.omf_dir "$(OMF_DIR)"                               \
310         --stringparam db2omf.help_dir "$(HELP_DIR)"                             \
311         --stringparam db2omf.omf_in "$(_DOC_OMF_IN)"                            \
312         $(if $(_ENABLE_SK),                                                     \
313           --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)")            \
314         $(_db2omf) $(2)
315
316 _DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
317 _DOC_OMF_DB = $(if $(_DOC_OMF_IN),                                              \
318         $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
319
320 _DOC_OMF_HTML = $(if $(_DOC_OMF_IN),                                            \
321         $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
322
323
324 # FIXME
325 _DOC_OMF_ALL = \
326         $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB))             \
327         $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
328
329
330 ################################################################################
331 _DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
332 _DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
333 _DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
334 _DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
335 _DOC_C_DOCS = \
336         $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
337         $(_DOC_C_PAGES)         $(_DOC_C_MODULE)
338
339 _DOC_C_DOCS_NOENT = \
340         $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
341         $(_DOC_C_PAGES)
342
343 _DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
344         $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
345         $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
346
347
348 # FIXME: probably have to shell escape to determine the file names
349 _DOC_C_HTML = $(foreach f,                                              \
350         $(shell xsltproc --xinclude                                     \
351           --stringparam db.chunk.basename "$(DOC_MODULE)"               \
352           $(_chunks) "C/$(DOC_MODULE).xml"),                            \
353         C/$(f).xhtml)
354
355
356 ###############################################################################
357 _DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID),                                     \
358         $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
359
360 _DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
361 _DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
362         $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
363
364 _DOC_LC_PAGES = \
365         $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES),       \
366                 $(lc)/$(notdir $(page)) ))
367
368 _DOC_LC_INCLUDES = \
369         $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
370                 $(lc)/$(notdir $(inc)) ))
371
372
373 # FIXME: probably have to shell escape to determine the file names
374 _DOC_LC_HTML = \
375         $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML),         \
376                 $(lc)/$(notdir $(doc)) ))
377
378 _DOC_LC_DOCS = \
379         $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)     $(_DOC_LC_PAGES)        \
380         $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
381
382 _DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
383         $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
384
385 _DOC_SRC_FIGURES = \
386         $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS),   \
387                 $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
388
389 _DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot,$(if $(DOC_ID),$(DOC_ID).pot))
390
391 ################################################################################
392 _DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
393         $(_DOC_C_HTML) $(_DOC_LC_HTML))
394
395 _DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
396 _clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
397 _clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
398 _clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
399 _clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
400 _doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
401 DOC_ID = $(GLABELS_BRANCH)
402 DOC_FIGURES = \
403         figures/glabels-logo.png                        \
404         figures/glabels-template-cd-label.png           \
405         figures/glabels-template-circle-label.png       \
406         figures/glabels-template-ellipse-label.png      \
407         figures/glabels-template-layout.png             \
408         figures/glabels-template-rect-label.png         \
409         figures/introduction-glabels-main-window.png    \
410         figures/merge-ex1-1.png                         \
411         figures/merge-ex1-2.png                         \
412         figures/merge-ex1-3.png                         \
413         figures/merge-ex1-4.png                         \
414         figures/merge-ex2-1.png                         \
415         figures/merge-ex2-2.png                         \
416         figures/merge-ex2-3.png                         \
417         figures/merge-ex2-4.png                         \
418         figures/object-editor-sidebar.png               \
419         figures/print-copies.png                        \
420         figures/print-merge.png                         \
421         figures/skip-fields-output.png                  \
422         figures/skip-fields-screenshot.png
423
424 DOC_PAGES = \
425         about.page              \
426         basicusage.page         \
427         createnew.page          \
428         customize.page          \
429         customtemplate.page     \
430         editprop.page           \
431         index.page              \
432         labelprop.page          \
433         license.page            \
434         mancreate.page          \
435         merge-ex1.page          \
436         merge-ex2.page          \
437         merge-ex3.page          \
438         merge-ex4.page          \
439         mergefeatures.page      \
440         merge.page              \
441         multifile.page          \
442         newlabel.page           \
443         printfile.page          \
444         select.page             \
445         skipfields.page
446
447 DOC_LINGUAS = cs de el es fr id nl ru sl
448 all: all-am
449
450 .SUFFIXES:
451 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
452         @for dep in $?; do \
453           case '$(am__configure_deps)' in \
454             *$$dep*) \
455               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
456                 && { if test -f $@; then exit 0; else break; fi; }; \
457               exit 1;; \
458           esac; \
459         done; \
460         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu help/Makefile'; \
461         $(am__cd) $(top_srcdir) && \
462           $(AUTOMAKE) --gnu help/Makefile
463 .PRECIOUS: Makefile
464 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
465         @case '$?' in \
466           *config.status*) \
467             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
468           *) \
469             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
470             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
471         esac;
472 $(top_srcdir)/gnome-doc-utils.make:
473
474 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
475         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
476
477 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
478         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
479 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
480         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
481 $(am__aclocal_m4_deps):
482
483 mostlyclean-libtool:
484         -rm -f *.lo
485
486 clean-libtool:
487         -rm -rf .libs _libs
488 tags: TAGS
489 TAGS:
490
491 ctags: CTAGS
492 CTAGS:
493
494
495 distdir: $(DISTFILES)
496         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
497         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
498         list='$(DISTFILES)'; \
499           dist_files=`for file in $$list; do echo $$file; done | \
500           sed -e "s|^$$srcdirstrip/||;t" \
501               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
502         case $$dist_files in \
503           */*) $(MKDIR_P) `echo "$$dist_files" | \
504                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
505                            sort -u` ;; \
506         esac; \
507         for file in $$dist_files; do \
508           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
509           if test -d $$d/$$file; then \
510             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
511             if test -d "$(distdir)/$$file"; then \
512               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
513             fi; \
514             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
515               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
516               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
517             fi; \
518             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
519           else \
520             test -f "$(distdir)/$$file" \
521             || cp -p $$d/$$file "$(distdir)/$$file" \
522             || exit 1; \
523           fi; \
524         done
525         $(MAKE) $(AM_MAKEFLAGS) \
526           top_distdir="$(top_distdir)" distdir="$(distdir)" \
527           dist-hook
528 check-am: all-am
529 check: check-am
530 all-am: Makefile
531 installdirs:
532 install: install-am
533 install-exec: install-exec-am
534 install-data: install-data-am
535 uninstall: uninstall-am
536
537 install-am: all-am
538         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
539
540 installcheck: installcheck-am
541 install-strip:
542         if test -z '$(STRIP)'; then \
543           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
544             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
545               install; \
546         else \
547           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
548             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
549             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
550         fi
551 mostlyclean-generic:
552
553 clean-generic:
554
555 distclean-generic:
556         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
557         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
558
559 maintainer-clean-generic:
560         @echo "This command is intended for maintainers to use"
561         @echo "it deletes files that may require special tools to rebuild."
562 clean: clean-am
563
564 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
565
566 distclean: distclean-am
567         -rm -f Makefile
568 distclean-am: clean-am distclean-generic distclean-local
569
570 dvi: dvi-am
571
572 dvi-am:
573
574 html: html-am
575
576 html-am:
577
578 info: info-am
579
580 info-am:
581
582 install-data-am: install-data-local
583
584 install-dvi: install-dvi-am
585
586 install-dvi-am:
587
588 install-exec-am:
589
590 install-html: install-html-am
591
592 install-html-am:
593
594 install-info: install-info-am
595
596 install-info-am:
597
598 install-man:
599
600 install-pdf: install-pdf-am
601
602 install-pdf-am:
603
604 install-ps: install-ps-am
605
606 install-ps-am:
607
608 installcheck-am:
609
610 maintainer-clean: maintainer-clean-am
611         -rm -f Makefile
612 maintainer-clean-am: distclean-am maintainer-clean-generic \
613         maintainer-clean-local
614
615 mostlyclean: mostlyclean-am
616
617 mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
618         mostlyclean-local
619
620 pdf: pdf-am
621
622 pdf-am:
623
624 ps: ps-am
625
626 ps-am:
627
628 uninstall-am: uninstall-local
629
630 .MAKE: install-am install-strip
631
632 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
633         clean-local dist-hook distclean distclean-generic \
634         distclean-libtool distclean-local distdir dvi dvi-am html \
635         html-am info info-am install install-am install-data \
636         install-data-am install-data-local install-dvi install-dvi-am \
637         install-exec install-exec-am install-html install-html-am \
638         install-info install-info-am install-man install-pdf \
639         install-pdf-am install-ps install-ps-am install-strip \
640         installcheck installcheck-am installdirs maintainer-clean \
641         maintainer-clean-generic maintainer-clean-local mostlyclean \
642         mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
643         pdf-am ps ps-am uninstall uninstall-am uninstall-local
644
645
646 DOC_H_FILE ?=
647
648 DOC_H_DOCS ?=
649
650 $(DOC_H_FILE): $(DOC_H_DOCS);
651         @rm -f $@.tmp; touch $@.tmp;
652         echo 'const gchar* documentation_credits[] = {' >> $@.tmp
653         list='$(DOC_H_DOCS)'; for doc in $$list; do \
654           xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
655           if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
656           xsltproc --path "$$xmlpath" $(_credits) $$doc; \
657         done | sort | uniq \
658           | 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}}' \
659           | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
660         echo '  NULL' >> $@.tmp
661         echo '};' >> $@.tmp
662         echo >> $@.tmp
663         list='$(DOC_H_DOCS)'; for doc in $$list; do \
664           xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
665           if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
666           docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
667             | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
668           echo $$xmlpath; \
669           ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
670           for id in $$ids; do \
671             echo '#define HELP_'`echo $$docid`'_'`echo $$id \
672               | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
673           done; \
674           echo >> $@.tmp; \
675         done;
676         cp $@.tmp $@ && rm -f $@.tmp
677
678 dist-check-gdu:
679 @HAVE_GNOME_DOC_UTILS_FALSE@    @echo "*** GNOME Doc Utils must be installed in order to make dist"
680 @HAVE_GNOME_DOC_UTILS_FALSE@    @false
681
682 .PHONY: dist-doc-header
683 dist-doc-header: $(DOC_H_FILE)
684         @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
685         echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
686         $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
687
688 doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
689
690 .PHONY: clean-doc-header
691 clean-local: $(_clean_doc_header)
692 distclean-local: $(_clean_doc_header)
693 mostlyclean-local: $(_clean_doc_header)
694 maintainer-clean-local: $(_clean_doc_header)
695 clean-doc-header:
696         rm -f $(DOC_H_FILE)
697
698 all: $(DOC_H_FILE)
699
700 ################################################################################
701
702 DOC_MODULE ?=
703
704 DOC_ID ?=
705
706 DOC_PAGES ?=
707
708 DOC_ENTITIES ?=
709
710 DOC_INCLUDES ?=
711
712 DOC_FIGURES ?=
713
714 DOC_FORMATS ?= docbook
715
716 DOC_LINGUAS ?=
717
718 ################################################################################
719
720 _xml2po ?= `which xml2po`
721
722 _db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
723 _db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
724 _chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
725 _credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
726 _ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl
727 @ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
728 @ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
729 @ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
730
731 $(_DOC_OMF_DB) : $(_DOC_OMF_IN)
732 $(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
733         @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
734           echo "The file '$(_skcontentslist)' does not exist." >&2;             \
735           echo "Please check your ScrollKeeper installation." >&2;              \
736           exit 1; }
737         $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
738
739 $(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
740 $(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
741 @ENABLE_SK_TRUE@        @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || {       \
742 @ENABLE_SK_TRUE@          echo "The file '$(_skcontentslist)' does not exist" >&2;              \
743 @ENABLE_SK_TRUE@          echo "Please check your ScrollKeeper installation." >&2;              \
744 @ENABLE_SK_TRUE@          exit 1; }
745         $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
746
747 .PHONY: omf
748 omf: $(_DOC_OMF_ALL)
749
750 .PHONY: po
751 po: $(_DOC_POFILES)
752
753 .PHONY: mo
754 mo: $(_DOC_MOFILES)
755
756 $(_DOC_POFILES):
757         @if ! test -d $(dir $@); then \
758           echo "mkdir $(dir $@)"; \
759           mkdir "$(dir $@)"; \
760         fi
761         @if test ! -f $@ -a -f $(srcdir)/$@; then \
762           echo "cp $(srcdir)/$@ $@"; \
763           cp "$(srcdir)/$@" "$@"; \
764         fi;
765         @docs=; \
766         list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
767           docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
768         done; \
769         if ! test -f $@; then \
770           echo "(cd $(dir $@) && \
771             $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
772             cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
773           (cd $(dir $@) && \
774             $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
775             cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
776         else \
777           echo "(cd $(dir $@) && \
778             $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
779           (cd $(dir $@) && \
780             $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
781         fi
782
783 $(_DOC_MOFILES): %.mo: %.po
784         $(AM_V_at)if ! test -d $(dir $@); then mkdir "$(dir $@)"; fi
785         $(GDU_V_MSGFMT)msgfmt -o $@ $<
786
787 # FIXME: fix the dependancy
788 # FIXME: hook xml2po up
789 $(_DOC_LC_DOCS) : $(_DOC_MOFILES)
790 $(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
791         $(AM_V_at)if ! test -d $(dir $@); then mkdir $(dir $@); fi
792         $(GDU_V_XML2PO)if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
793         mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
794         if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
795         (cd $(dir $@) && \
796           $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
797             "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
798             cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
799 .PHONY: pot
800 pot: $(_DOC_POT)
801 $(_DOC_POT): $(_DOC_C_DOCS_NOENT)
802         $(GDU_V_XML2PO)$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
803
804 $(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
805         $(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,$@)
806
807 ################################################################################
808
809 all:                                                    \
810         $(_DOC_C_DOCS)          $(_DOC_LC_DOCS)         \
811         $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
812         $(_DOC_HTML_ALL)        $(_DOC_POFILES)
813
814 ################################################################################
815
816 .PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
817
818 clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
819 clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
820 clean-doc-lc:
821         rm -f $(_DOC_LC_DOCS)
822         rm -f $(_DOC_MOFILES)
823         @list='$(_DOC_POFILES)'; for po in $$list; do \
824           if ! test "$$po" -ef "$(srcdir)/$$po"; then \
825             echo "rm -f $$po"; \
826             rm -f "$$po"; \
827           fi; \
828         done
829 #       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
830         @for lc in C $(_DOC_REAL_LINGUAS); do \
831           if test -f "$$lc/.xml2po.mo"; then \
832             echo "rm -f $$lc/.xml2po.mo"; \
833             rm -f "$$lc/.xml2po.mo"; \
834           fi; \
835         done
836 clean-doc-dir: clean-doc-lc
837         @for lc in C $(_DOC_REAL_LINGUAS); do \
838           for dir in `find $$lc -depth -type d`; do \
839             if ! test $$dir -ef $(srcdir)/$$dir; then \
840               echo "rmdir $$dir"; \
841               rmdir "$$dir"; \
842            fi; \
843           done; \
844         done
845
846 clean-local:                                            \
847         $(_clean_omf)           $(_clean_dsk)           \
848         $(_clean_lc)            $(_clean_dir)
849 distclean-local:                                        \
850         $(_clean_omf)           $(_clean_dsk)           \
851         $(_clean_lc)            $(_clean_dir)
852 mostlyclean-local:                                      \
853         $(_clean_omf)           $(_clean_dsk)           \
854         $(_clean_lc)            $(_clean_dir)
855 maintainer-clean-local:                                 \
856         $(_clean_omf)           $(_clean_dsk)           \
857         $(_clean_lc)            $(_clean_dir)
858
859 ################################################################################
860
861 .PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
862 doc-dist-hook:                                          \
863         $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
864         $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
865         $(if $(_DOC_OMF_IN),dist-doc-omf)
866 #       $(if $(_DOC_DSK_IN),dist-doc-dsk)
867
868 dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
869         @for lc in C $(_DOC_REAL_LINGUAS); do \
870           echo " $(mkinstalldirs) $(distdir)/$$lc"; \
871           $(mkinstalldirs) "$(distdir)/$$lc"; \
872         done
873         @list='$(_DOC_C_DOCS)'; \
874         for doc in $$list; do \
875           if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
876             docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
877             if ! test -d "$(distdir)/$$docdir"; then \
878               echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
879               $(mkinstalldirs) "$(distdir)/$$docdir"; \
880             fi; \
881           echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
882           $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
883         done
884         @list='$(_DOC_LC_DOCS)'; \
885         for doc in $$list; do \
886           if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
887             docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
888             if ! test -d "$(distdir)/$$docdir"; then \
889               echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
890               $(mkinstalldirs) "$(distdir)/$$docdir"; \
891             fi; \
892           echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
893           $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
894         done
895         @list='$(_DOC_POFILES)'; \
896         for doc in $$list; do \
897           if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
898             docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
899             if ! test -d "$(distdir)/$$docdir"; then \
900               echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
901               $(mkinstalldirs) "$(distdir)/$$docdir"; \
902             fi; \
903           echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
904           $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
905         done
906
907 dist-doc-figs: $(_DOC_SRC_FIGURES)
908         @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
909         for fig in $$list; do \
910           if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
911           if test -f "$$d$$fig"; then \
912             figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
913             if ! test -d "$(distdir)/$$figdir"; then \
914               echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
915               $(mkinstalldirs) "$(distdir)/$$figdir"; \
916             fi; \
917             echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
918             $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
919           fi; \
920         done;
921
922 dist-doc-omf:
923         @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
924         echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
925         $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
926
927 dist-doc-dsk:
928         @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
929         echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
930         $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
931
932 ################################################################################
933
934 .PHONY: check-doc-docs check-doc-omf
935 check:                                                  \
936         $(if $(DOC_MODULE),check-doc-docs)              \
937         $(if $(DOC_ID),check-doc-pages)                 \
938         $(if $(_DOC_OMF_IN),check-doc-omf)
939
940 check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
941         @for lc in C $(_DOC_REAL_LINGUAS); do \
942           if test -f "$$lc"; \
943             then d=; \
944             xmlpath="$$lc"; \
945           else \
946             d="$(srcdir)/"; \
947             xmlpath="$$lc:$(srcdir)/$$lc"; \
948           fi; \
949           echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
950           xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
951         done
952
953 check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
954         for lc in C $(_DOC_REAL_LINGUAS); do \
955           if test -f "$$lc"; \
956             then d=; \
957             xmlpath="$$lc"; \
958           else \
959             d="$(srcdir)/"; \
960             xmlpath="$$lc:$(srcdir)/$$lc"; \
961           fi; \
962           for page in $(DOC_PAGES); do \
963             echo "xmllint --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
964             xmllint --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
965           done; \
966         done
967
968 check-doc-omf: $(_DOC_OMF_ALL)
969         @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
970           echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
971           xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
972         done
973
974 ################################################################################
975
976 .PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
977
978 install-data-local:                                     \
979         $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
980         $(if $(_DOC_HTML_ALL),install-doc-html)         \
981         $(if $(_DOC_C_FIGURES),install-doc-figs)        \
982         $(if $(_DOC_OMF_IN),install-doc-omf)
983 #       $(if $(_DOC_DSK_IN),install-doc-dsk)
984
985 install-doc-docs:
986         @for lc in C $(_DOC_REAL_LINGUAS); do \
987           echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
988           $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
989         done
990         @list='$(_DOC_C_DOCS)'; for doc in $$list; do \
991           if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
992           docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
993           docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
994           if ! test -d "$$docdir"; then \
995             echo "$(mkinstalldirs) $$docdir"; \
996             $(mkinstalldirs) "$$docdir"; \
997           fi; \
998           echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
999           $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
1000         done
1001         @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \
1002           if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
1003           docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
1004           docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
1005           if ! test -d "$$docdir"; then \
1006             echo "$(mkinstalldirs) $$docdir"; \
1007             $(mkinstalldirs) "$$docdir"; \
1008           fi; \
1009           echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1010           $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
1011         done
1012
1013 install-doc-figs:
1014         @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
1015           for lc in C $(_DOC_REAL_LINGUAS); do \
1016             figsymlink=false; \
1017             if test -f "$$lc/$$fig"; then \
1018               figfile="$$lc/$$fig"; \
1019             elif test -f "$(srcdir)/$$lc/$$fig"; then \
1020               figfile="$(srcdir)/$$lc/$$fig"; \
1021             else \
1022               figsymlink=true; \
1023             fi; \
1024             figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
1025             figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
1026             if ! test -d "$$figdir"; then \
1027               echo "$(mkinstalldirs) $$figdir"; \
1028               $(mkinstalldirs) "$$figdir"; \
1029             fi; \
1030             figbase=`echo $$fig | sed -e 's/^.*\///'`; \
1031             if $$figsymlink; then \
1032               echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
1033               ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
1034             else \
1035               echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
1036               $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
1037             fi; \
1038           done; \
1039         done
1040
1041 install-doc-html:
1042         echo install-html
1043
1044 install-doc-omf:
1045         $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
1046         @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
1047           echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1048           $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
1049         done
1050         @if test "x$(_ENABLE_SK)" = "xtrue"; then \
1051           echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
1052           scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
1053         fi;
1054
1055 install-doc-dsk:
1056         echo install-dsk
1057
1058 ################################################################################
1059
1060 .PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
1061 uninstall-local:                                        \
1062         $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
1063         $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
1064         $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
1065         $(if $(_DOC_OMF_IN),uninstall-doc-omf)
1066 #       $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
1067
1068 uninstall-doc-docs:
1069         @list='$(_DOC_C_DOCS)'; for doc in $$list; do \
1070           echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1071           rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1072         done
1073         @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \
1074           echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1075           rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1076         done
1077
1078 uninstall-doc-figs:
1079         @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
1080           echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
1081           rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
1082         done;
1083
1084 uninstall-doc-omf:
1085         @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
1086           if test "x$(_ENABLE_SK)" = "xtrue"; then \
1087             echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1088             scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1089           fi; \
1090           echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1091           rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1092         done
1093
1094 dist-hook: doc-dist-hook
1095
1096 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1097 # Otherwise a system limit (for SysV at least) may be exceeded.
1098 .NOEXPORT: