source: proiecte/PPPP/gdm/docs/Makefile.in @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

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