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