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 | ################################################################################ |
---|
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 = docs |
---|
63 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
---|
64 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
---|
65 | $(top_srcdir)/configure.ac |
---|
66 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
---|
67 | $(ACLOCAL_M4) |
---|
68 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
---|
69 | CONFIG_HEADER = $(top_builddir)/config.h |
---|
70 | CONFIG_CLEAN_FILES = |
---|
71 | CONFIG_CLEAN_VPATH_FILES = |
---|
72 | AM_V_GEN = $(am__v_GEN_$(V)) |
---|
73 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) |
---|
74 | am__v_GEN_0 = @echo " GEN " $@; |
---|
75 | AM_V_at = $(am__v_at_$(V)) |
---|
76 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) |
---|
77 | am__v_at_0 = @ |
---|
78 | SOURCES = |
---|
79 | DIST_SOURCES = |
---|
80 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
---|
81 | ACLOCAL = @ACLOCAL@ |
---|
82 | ALL_LINGUAS = @ALL_LINGUAS@ |
---|
83 | AMTAR = @AMTAR@ |
---|
84 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
---|
85 | APPLET_CFLAGS = @APPLET_CFLAGS@ |
---|
86 | APPLET_LIBS = @APPLET_LIBS@ |
---|
87 | AR = @AR@ |
---|
88 | AT_BINDIR = @AT_BINDIR@ |
---|
89 | AT_SPI_REGISTRYD_DIR = @AT_SPI_REGISTRYD_DIR@ |
---|
90 | AUTOCONF = @AUTOCONF@ |
---|
91 | AUTOHEADER = @AUTOHEADER@ |
---|
92 | AUTOMAKE = @AUTOMAKE@ |
---|
93 | AWK = @AWK@ |
---|
94 | BINDIR = @BINDIR@ |
---|
95 | CANBERRA_GTK_CFLAGS = @CANBERRA_GTK_CFLAGS@ |
---|
96 | CANBERRA_GTK_LIBS = @CANBERRA_GTK_LIBS@ |
---|
97 | CATALOGS = @CATALOGS@ |
---|
98 | CATOBJEXT = @CATOBJEXT@ |
---|
99 | CC = @CC@ |
---|
100 | CCDEPMODE = @CCDEPMODE@ |
---|
101 | CFLAGS = @CFLAGS@ |
---|
102 | CHECK_CFLAGS = @CHECK_CFLAGS@ |
---|
103 | CHECK_LIBS = @CHECK_LIBS@ |
---|
104 | COMMON_CFLAGS = @COMMON_CFLAGS@ |
---|
105 | COMMON_LIBS = @COMMON_LIBS@ |
---|
106 | CPP = @CPP@ |
---|
107 | CPPFLAGS = @CPPFLAGS@ |
---|
108 | CXX = @CXX@ |
---|
109 | CXXCPP = @CXXCPP@ |
---|
110 | CXXDEPMODE = @CXXDEPMODE@ |
---|
111 | CXXFLAGS = @CXXFLAGS@ |
---|
112 | CYGPATH_W = @CYGPATH_W@ |
---|
113 | DAEMON_CFLAGS = @DAEMON_CFLAGS@ |
---|
114 | DAEMON_LIBS = @DAEMON_LIBS@ |
---|
115 | DATADIR = @DATADIR@ |
---|
116 | DATADIRNAME = @DATADIRNAME@ |
---|
117 | DBUS_SYS_DIR = @DBUS_SYS_DIR@ |
---|
118 | DEBUG_CFLAGS = @DEBUG_CFLAGS@ |
---|
119 | DEFS = @DEFS@ |
---|
120 | DEPDIR = @DEPDIR@ |
---|
121 | DEVKIT_POWER_CFLAGS = @DEVKIT_POWER_CFLAGS@ |
---|
122 | DEVKIT_POWER_LIBS = @DEVKIT_POWER_LIBS@ |
---|
123 | DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ |
---|
124 | DOC_USER_FORMATS = @DOC_USER_FORMATS@ |
---|
125 | DSYMUTIL = @DSYMUTIL@ |
---|
126 | DUMPBIN = @DUMPBIN@ |
---|
127 | ECHO_C = @ECHO_C@ |
---|
128 | ECHO_N = @ECHO_N@ |
---|
129 | ECHO_T = @ECHO_T@ |
---|
130 | EGREP = @EGREP@ |
---|
131 | EXEEXT = @EXEEXT@ |
---|
132 | EXTRA_CHOOSER_LIBS = @EXTRA_CHOOSER_LIBS@ |
---|
133 | EXTRA_DAEMON_LIBS = @EXTRA_DAEMON_LIBS@ |
---|
134 | EXTRA_DYNAMIC_LIBS = @EXTRA_DYNAMIC_LIBS@ |
---|
135 | EXTRA_FLEXI_LIBS = @EXTRA_FLEXI_LIBS@ |
---|
136 | EXTRA_GREETER_LIBS = @EXTRA_GREETER_LIBS@ |
---|
137 | EXTRA_SETUP_LIBS = @EXTRA_SETUP_LIBS@ |
---|
138 | EXTRA_SLAVE_LIBS = @EXTRA_SLAVE_LIBS@ |
---|
139 | EXTRA_TEST_LIBS = @EXTRA_TEST_LIBS@ |
---|
140 | EXTRA_XNEST_LIBS = @EXTRA_XNEST_LIBS@ |
---|
141 | FGREP = @FGREP@ |
---|
142 | GCONFTOOL = @GCONFTOOL@ |
---|
143 | GCONF_CFLAGS = @GCONF_CFLAGS@ |
---|
144 | GCONF_LIBS = @GCONF_LIBS@ |
---|
145 | GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ |
---|
146 | GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ |
---|
147 | GDMCHOOSER = @GDMCHOOSER@ |
---|
148 | GDM_CUSTOM_CONF = @GDM_CUSTOM_CONF@ |
---|
149 | GDM_DEFAULTS_CONF = @GDM_DEFAULTS_CONF@ |
---|
150 | GDM_GROUPNAME = @GDM_GROUPNAME@ |
---|
151 | GDM_OLD_CONF = @GDM_OLD_CONF@ |
---|
152 | GDM_PID_FILE = @GDM_PID_FILE@ |
---|
153 | GDM_SESSION_DEFAULT_PATH = @GDM_SESSION_DEFAULT_PATH@ |
---|
154 | GDM_USERNAME = @GDM_USERNAME@ |
---|
155 | GDM_WORKING_DIR = @GDM_WORKING_DIR@ |
---|
156 | GDM_XAUTH_DIR = @GDM_XAUTH_DIR@ |
---|
157 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ |
---|
158 | GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ |
---|
159 | GMOFILES = @GMOFILES@ |
---|
160 | GMSGFMT = @GMSGFMT@ |
---|
161 | GREP = @GREP@ |
---|
162 | GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ |
---|
163 | GTHREAD_LIBS = @GTHREAD_LIBS@ |
---|
164 | GTK_CFLAGS = @GTK_CFLAGS@ |
---|
165 | GTK_LIBS = @GTK_LIBS@ |
---|
166 | HAVE_DEVICEKIT_POWER = @HAVE_DEVICEKIT_POWER@ |
---|
167 | HAVE_LIBXKLAVIER = @HAVE_LIBXKLAVIER@ |
---|
168 | HAVE_PAM = @HAVE_PAM@ |
---|
169 | HELP_DIR = @HELP_DIR@ |
---|
170 | INSTALL = @INSTALL@ |
---|
171 | INSTALL_DATA = @INSTALL_DATA@ |
---|
172 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
---|
173 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
---|
174 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
---|
175 | INSTOBJEXT = @INSTOBJEXT@ |
---|
176 | INTLLIBS = @INTLLIBS@ |
---|
177 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ |
---|
178 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ |
---|
179 | INTLTOOL_PERL = @INTLTOOL_PERL@ |
---|
180 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ |
---|
181 | LANG_CONFIG_FILE = @LANG_CONFIG_FILE@ |
---|
182 | LD = @LD@ |
---|
183 | LDFLAGS = @LDFLAGS@ |
---|
184 | LIBDIR = @LIBDIR@ |
---|
185 | LIBEXECDIR = @LIBEXECDIR@ |
---|
186 | LIBOBJS = @LIBOBJS@ |
---|
187 | LIBS = @LIBS@ |
---|
188 | LIBTOOL = @LIBTOOL@ |
---|
189 | LIBWRAP_LIBS = @LIBWRAP_LIBS@ |
---|
190 | LIBXKLAVIER_CFLAGS = @LIBXKLAVIER_CFLAGS@ |
---|
191 | LIBXKLAVIER_LIBS = @LIBXKLAVIER_LIBS@ |
---|
192 | LIPO = @LIPO@ |
---|
193 | LN_S = @LN_S@ |
---|
194 | LOCALSTATEDIR = @LOCALSTATEDIR@ |
---|
195 | LTLIBOBJS = @LTLIBOBJS@ |
---|
196 | MAINT = @MAINT@ |
---|
197 | MAKEINFO = @MAKEINFO@ |
---|
198 | MKDIR_P = @MKDIR_P@ |
---|
199 | MKINSTALLDIRS = @MKINSTALLDIRS@ |
---|
200 | MSGFMT = @MSGFMT@ |
---|
201 | MSGFMT_OPTS = @MSGFMT_OPTS@ |
---|
202 | MSGMERGE = @MSGMERGE@ |
---|
203 | NM = @NM@ |
---|
204 | NMEDIT = @NMEDIT@ |
---|
205 | OBJDUMP = @OBJDUMP@ |
---|
206 | OBJEXT = @OBJEXT@ |
---|
207 | OMF_DIR = @OMF_DIR@ |
---|
208 | OTOOL = @OTOOL@ |
---|
209 | OTOOL64 = @OTOOL64@ |
---|
210 | PACKAGE = @PACKAGE@ |
---|
211 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
---|
212 | PACKAGE_NAME = @PACKAGE_NAME@ |
---|
213 | PACKAGE_STRING = @PACKAGE_STRING@ |
---|
214 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
---|
215 | PACKAGE_URL = @PACKAGE_URL@ |
---|
216 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
---|
217 | PAM_LIBS = @PAM_LIBS@ |
---|
218 | PAM_PREFIX = @PAM_PREFIX@ |
---|
219 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
---|
220 | PKG_CONFIG = @PKG_CONFIG@ |
---|
221 | PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@ |
---|
222 | POFILES = @POFILES@ |
---|
223 | POSUB = @POSUB@ |
---|
224 | PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ |
---|
225 | PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ |
---|
226 | RANLIB = @RANLIB@ |
---|
227 | RBAC_LIBS = @RBAC_LIBS@ |
---|
228 | SBINDIR = @SBINDIR@ |
---|
229 | SED = @SED@ |
---|
230 | SET_MAKE = @SET_MAKE@ |
---|
231 | SHELL = @SHELL@ |
---|
232 | SIMPLE_CHOOSER_CFLAGS = @SIMPLE_CHOOSER_CFLAGS@ |
---|
233 | SIMPLE_CHOOSER_LIBS = @SIMPLE_CHOOSER_LIBS@ |
---|
234 | SIMPLE_GREETER_CFLAGS = @SIMPLE_GREETER_CFLAGS@ |
---|
235 | SIMPLE_GREETER_LIBS = @SIMPLE_GREETER_LIBS@ |
---|
236 | SOUND_PROGRAM = @SOUND_PROGRAM@ |
---|
237 | STRIP = @STRIP@ |
---|
238 | SYSCONFDIR = @SYSCONFDIR@ |
---|
239 | USE_NLS = @USE_NLS@ |
---|
240 | VERSION = @VERSION@ |
---|
241 | WARN_CFLAGS = @WARN_CFLAGS@ |
---|
242 | WITH_CONSOLE_KIT = @WITH_CONSOLE_KIT@ |
---|
243 | XDMCP_LIBS = @XDMCP_LIBS@ |
---|
244 | XEVIE_OPTION = @XEVIE_OPTION@ |
---|
245 | XGETTEXT = @XGETTEXT@ |
---|
246 | XINERAMA_LIBS = @XINERAMA_LIBS@ |
---|
247 | XLIB_CFLAGS = @XLIB_CFLAGS@ |
---|
248 | XLIB_LIBS = @XLIB_LIBS@ |
---|
249 | XMKMF = @XMKMF@ |
---|
250 | XSESSION_SHELL = @XSESSION_SHELL@ |
---|
251 | X_CFLAGS = @X_CFLAGS@ |
---|
252 | X_CONFIG_OPTIONS = @X_CONFIG_OPTIONS@ |
---|
253 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ |
---|
254 | X_LIBS = @X_LIBS@ |
---|
255 | X_PATH = @X_PATH@ |
---|
256 | X_PRE_LIBS = @X_PRE_LIBS@ |
---|
257 | X_SERVER = @X_SERVER@ |
---|
258 | X_SERVER_PATH = @X_SERVER_PATH@ |
---|
259 | X_XNEST_CMD = @X_XNEST_CMD@ |
---|
260 | X_XNEST_CONFIG_OPTIONS = @X_XNEST_CONFIG_OPTIONS@ |
---|
261 | X_XNEST_UNSCALED_FONTPATH = @X_XNEST_UNSCALED_FONTPATH@ |
---|
262 | abs_builddir = @abs_builddir@ |
---|
263 | abs_srcdir = @abs_srcdir@ |
---|
264 | abs_top_builddir = @abs_top_builddir@ |
---|
265 | abs_top_srcdir = @abs_top_srcdir@ |
---|
266 | ac_ct_CC = @ac_ct_CC@ |
---|
267 | ac_ct_CXX = @ac_ct_CXX@ |
---|
268 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
---|
269 | am__include = @am__include@ |
---|
270 | am__leading_dot = @am__leading_dot@ |
---|
271 | am__quote = @am__quote@ |
---|
272 | am__tar = @am__tar@ |
---|
273 | am__untar = @am__untar@ |
---|
274 | authdir = @authdir@ |
---|
275 | bindir = @bindir@ |
---|
276 | build = @build@ |
---|
277 | build_alias = @build_alias@ |
---|
278 | build_cpu = @build_cpu@ |
---|
279 | build_os = @build_os@ |
---|
280 | build_vendor = @build_vendor@ |
---|
281 | builddir = @builddir@ |
---|
282 | datadir = @datadir@ |
---|
283 | datarootdir = @datarootdir@ |
---|
284 | dmconfdir = @dmconfdir@ |
---|
285 | docdir = @docdir@ |
---|
286 | dvidir = @dvidir@ |
---|
287 | exec_prefix = @exec_prefix@ |
---|
288 | gdmconfdir = @gdmconfdir@ |
---|
289 | gdmlocaledir = @gdmlocaledir@ |
---|
290 | host = @host@ |
---|
291 | host_alias = @host_alias@ |
---|
292 | host_cpu = @host_cpu@ |
---|
293 | host_os = @host_os@ |
---|
294 | host_vendor = @host_vendor@ |
---|
295 | htmldir = @htmldir@ |
---|
296 | includedir = @includedir@ |
---|
297 | infodir = @infodir@ |
---|
298 | install_sh = @install_sh@ |
---|
299 | libdir = @libdir@ |
---|
300 | libexecdir = @libexecdir@ |
---|
301 | localedir = @localedir@ |
---|
302 | localstatedir = @localstatedir@ |
---|
303 | logdir = @logdir@ |
---|
304 | lt_ECHO = @lt_ECHO@ |
---|
305 | mandir = @mandir@ |
---|
306 | mkdir_p = @mkdir_p@ |
---|
307 | oldincludedir = @oldincludedir@ |
---|
308 | pdfdir = @pdfdir@ |
---|
309 | pixmapdir = @pixmapdir@ |
---|
310 | prefix = @prefix@ |
---|
311 | program_transform_name = @program_transform_name@ |
---|
312 | psdir = @psdir@ |
---|
313 | sbindir = @sbindir@ |
---|
314 | sharedstatedir = @sharedstatedir@ |
---|
315 | srcdir = @srcdir@ |
---|
316 | sysconfdir = @sysconfdir@ |
---|
317 | sysconfsubdir = @sysconfsubdir@ |
---|
318 | target_alias = @target_alias@ |
---|
319 | top_build_prefix = @top_build_prefix@ |
---|
320 | top_builddir = @top_builddir@ |
---|
321 | top_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 | ################################################################################ |
---|
333 | db2omf_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)) |
---|
431 | DOC_MODULE = gdm |
---|
432 | DOC_ENTITIES = legal.xml |
---|
433 | DOC_INCLUDES = |
---|
434 | DOC_LINGUAS = de el en_GB es fr it ko oc ru sv uk |
---|
435 | all: 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 |
---|
451 | Makefile: $(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 | |
---|
469 | mostlyclean-libtool: |
---|
470 | -rm -f *.lo |
---|
471 | |
---|
472 | clean-libtool: |
---|
473 | -rm -rf .libs _libs |
---|
474 | tags: TAGS |
---|
475 | TAGS: |
---|
476 | |
---|
477 | ctags: CTAGS |
---|
478 | CTAGS: |
---|
479 | |
---|
480 | |
---|
481 | distdir: $(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 |
---|
514 | check-am: all-am |
---|
515 | check: check-am |
---|
516 | all-am: Makefile |
---|
517 | installdirs: |
---|
518 | install: install-am |
---|
519 | install-exec: install-exec-am |
---|
520 | install-data: install-data-am |
---|
521 | uninstall: uninstall-am |
---|
522 | |
---|
523 | install-am: all-am |
---|
524 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
---|
525 | |
---|
526 | installcheck: installcheck-am |
---|
527 | install-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 |
---|
532 | mostlyclean-generic: |
---|
533 | |
---|
534 | clean-generic: |
---|
535 | |
---|
536 | distclean-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 | |
---|
540 | maintainer-clean-generic: |
---|
541 | @echo "This command is intended for maintainers to use" |
---|
542 | @echo "it deletes files that may require special tools to rebuild." |
---|
543 | clean: clean-am |
---|
544 | |
---|
545 | clean-am: clean-generic clean-libtool clean-local mostlyclean-am |
---|
546 | |
---|
547 | distclean: distclean-am |
---|
548 | -rm -f Makefile |
---|
549 | distclean-am: clean-am distclean-generic distclean-local |
---|
550 | |
---|
551 | dvi: dvi-am |
---|
552 | |
---|
553 | dvi-am: |
---|
554 | |
---|
555 | html: html-am |
---|
556 | |
---|
557 | html-am: |
---|
558 | |
---|
559 | info: info-am |
---|
560 | |
---|
561 | info-am: |
---|
562 | |
---|
563 | install-data-am: install-data-local |
---|
564 | |
---|
565 | install-dvi: install-dvi-am |
---|
566 | |
---|
567 | install-dvi-am: |
---|
568 | |
---|
569 | install-exec-am: |
---|
570 | |
---|
571 | install-html: install-html-am |
---|
572 | |
---|
573 | install-html-am: |
---|
574 | |
---|
575 | install-info: install-info-am |
---|
576 | |
---|
577 | install-info-am: |
---|
578 | |
---|
579 | install-man: |
---|
580 | |
---|
581 | install-pdf: install-pdf-am |
---|
582 | |
---|
583 | install-pdf-am: |
---|
584 | |
---|
585 | install-ps: install-ps-am |
---|
586 | |
---|
587 | install-ps-am: |
---|
588 | |
---|
589 | installcheck-am: |
---|
590 | |
---|
591 | maintainer-clean: maintainer-clean-am |
---|
592 | -rm -f Makefile |
---|
593 | maintainer-clean-am: distclean-am maintainer-clean-generic \ |
---|
594 | maintainer-clean-local |
---|
595 | |
---|
596 | mostlyclean: mostlyclean-am |
---|
597 | |
---|
598 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool \ |
---|
599 | mostlyclean-local |
---|
600 | |
---|
601 | pdf: pdf-am |
---|
602 | |
---|
603 | pdf-am: |
---|
604 | |
---|
605 | ps: ps-am |
---|
606 | |
---|
607 | ps-am: |
---|
608 | |
---|
609 | uninstall-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 | |
---|
627 | DOC_H_FILE ?= |
---|
628 | |
---|
629 | DOC_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 | |
---|
659 | dist-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 |
---|
664 | dist-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 | |
---|
669 | doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header) |
---|
670 | |
---|
671 | .PHONY: clean-doc-header |
---|
672 | clean-local: $(_clean_doc_header) |
---|
673 | distclean-local: $(_clean_doc_header) |
---|
674 | mostlyclean-local: $(_clean_doc_header) |
---|
675 | maintainer-clean-local: $(_clean_doc_header) |
---|
676 | clean-doc-header: |
---|
677 | rm -f $(DOC_H_FILE) |
---|
678 | |
---|
679 | all: $(DOC_H_FILE) |
---|
680 | |
---|
681 | ################################################################################ |
---|
682 | |
---|
683 | DOC_MODULE ?= |
---|
684 | |
---|
685 | DOC_ID ?= |
---|
686 | |
---|
687 | DOC_PAGES ?= |
---|
688 | |
---|
689 | DOC_ENTITIES ?= |
---|
690 | |
---|
691 | DOC_INCLUDES ?= |
---|
692 | |
---|
693 | DOC_FIGURES ?= |
---|
694 | |
---|
695 | DOC_FORMATS ?= docbook |
---|
696 | |
---|
697 | DOC_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 |
---|
730 | omf: $(_DOC_OMF_ALL) |
---|
731 | |
---|
732 | .PHONY: po |
---|
733 | po: $(_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 |
---|
775 | pot: $(_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 | |
---|
784 | all: \ |
---|
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 | |
---|
793 | clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML) |
---|
794 | clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML) |
---|
795 | clean-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 |
---|
809 | clean-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 | |
---|
819 | clean-local: \ |
---|
820 | $(_clean_omf) $(_clean_dsk) \ |
---|
821 | $(_clean_lc) $(_clean_dir) |
---|
822 | distclean-local: \ |
---|
823 | $(_clean_omf) $(_clean_dsk) \ |
---|
824 | $(_clean_lc) $(_clean_dir) |
---|
825 | mostlyclean-local: \ |
---|
826 | $(_clean_omf) $(_clean_dsk) \ |
---|
827 | $(_clean_lc) $(_clean_dir) |
---|
828 | maintainer-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 |
---|
835 | doc-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 | |
---|
841 | dist-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 | |
---|
858 | dist-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 | |
---|
873 | dist-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 | |
---|
878 | dist-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 |
---|
886 | check: \ |
---|
887 | $(if $(DOC_MODULE),check-doc-docs) \ |
---|
888 | $(if $(DOC_ID),check-doc-pages) \ |
---|
889 | $(if $(_DOC_OMF_IN),check-doc-omf) |
---|
890 | |
---|
891 | check-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 | |
---|
904 | check-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 | |
---|
919 | check-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 | |
---|
928 | install-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 | |
---|
935 | install-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 | |
---|
952 | install-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 | |
---|
980 | install-doc-html: |
---|
981 | echo install-html |
---|
982 | |
---|
983 | install-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 | |
---|
994 | install-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 |
---|
1000 | uninstall-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 | |
---|
1007 | uninstall-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 | |
---|
1013 | uninstall-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 | |
---|
1019 | uninstall-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 |
---|
1028 | dist-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: |
---|