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