1
# Makefile.in generated by automake 1.10.1 from Makefile.am.
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17
# gnome-doc-utils.make - make magic for building documentation
18
# Copyright (C) 2004-2005 Shaun McCance <shaunm@gnome.org>
20
# This program is free software; you can redistribute it and/or modify
21
# it under the terms of the GNU General Public License as published by
22
# the Free Software Foundation; either version 2 of the License, or
23
# (at your option) any later version.
25
# This program is distributed in the hope that it will be useful,
26
# but WITHOUT ANY WARRANTY; without even the implied warranty of
27
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
# GNU General Public License for more details.
30
# You should have received a copy of the GNU General Public License
31
# along with this program; if not, write to the Free Software Foundation,
32
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34
# As a special exception to the GNU General Public License, if you
35
# distribute this file as part of a program that contains a
36
# configuration script generated by Autoconf, you may include it under
37
# the same distribution terms that you use for the rest of that program.
39
################################################################################
41
pkglibdir = $(libdir)/@PACKAGE@
42
pkgincludedir = $(includedir)/@PACKAGE@
43
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44
install_sh_DATA = $(install_sh) -c -m 644
45
install_sh_PROGRAM = $(install_sh) -c
46
install_sh_SCRIPT = $(install_sh) -c
47
INSTALL_HEADER = $(INSTALL_DATA)
48
transform = $(program_transform_name)
55
build_triplet = @build@
57
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
58
$(top_srcdir)/gnome-doc-utils.make
59
subdir = invest-applet/docs
60
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61
am__aclocal_m4_deps = $(top_srcdir)/m4/ac-define-dir.m4 \
62
$(top_srcdir)/m4/acinclude.m4 \
63
$(top_srcdir)/m4/gnome-doc-utils.m4 \
64
$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/python.m4 \
65
$(top_srcdir)/configure.in
66
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
69
CONFIG_HEADER = $(top_builddir)/config.h
73
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
74
pkgdatadir = @pkgdatadir@
76
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
78
ALL_LINGUAS = @ALL_LINGUAS@
82
AUTOHEADER = @AUTOHEADER@
85
BUILDERDIR = @BUILDERDIR@
87
CATOBJEXT = @CATOBJEXT@
89
CCDEPMODE = @CCDEPMODE@
93
CPUFREQ_SELECTOR_CFLAGS = @CPUFREQ_SELECTOR_CFLAGS@
94
CPUFREQ_SELECTOR_LIBS = @CPUFREQ_SELECTOR_LIBS@
97
CXXDEPMODE = @CXXDEPMODE@
99
CYGPATH_W = @CYGPATH_W@
101
DATADIRNAME = @DATADIRNAME@
102
DBUS_CFLAGS = @DBUS_CFLAGS@
103
DBUS_LIBS = @DBUS_LIBS@
106
DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
107
DOC_USER_FORMATS = @DOC_USER_FORMATS@
108
DSYMUTIL = @DSYMUTIL@
117
GAILUTIL_CFLAGS = @GAILUTIL_CFLAGS@
118
GAILUTIL_LIBS = @GAILUTIL_LIBS@
119
GCONFTOOL = @GCONFTOOL@
120
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
121
GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
122
GDK_PIXBUF_CSOURCE = @GDK_PIXBUF_CSOURCE@
123
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
124
GIO_CFLAGS = @GIO_CFLAGS@
125
GIO_LIBS = @GIO_LIBS@
126
GIT_CFLAGS = @GIT_CFLAGS@
127
GIT_LIBS = @GIT_LIBS@
128
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
129
GMOFILES = @GMOFILES@
131
GNOMEDESKTOP_CFLAGS = @GNOMEDESKTOP_CFLAGS@
132
GNOMEDESKTOP_LIBS = @GNOMEDESKTOP_LIBS@
133
GNOMELOCALEDIR = @GNOMELOCALEDIR@
134
GNOME_APPLETS_CFLAGS = @GNOME_APPLETS_CFLAGS@
135
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
136
GNOME_ICONDIR = @GNOME_ICONDIR@
137
GNOME_LIBS2_CFLAGS = @GNOME_LIBS2_CFLAGS@
138
GNOME_LIBS2_LIBS = @GNOME_LIBS2_LIBS@
139
GNOME_PIXMAPSDIR = @GNOME_PIXMAPSDIR@
140
GNOME_SETTINGS_DAEMON_CFLAGS = @GNOME_SETTINGS_DAEMON_CFLAGS@
141
GNOME_SETTINGS_DAEMON_LIBS = @GNOME_SETTINGS_DAEMON_LIBS@
142
GNOME_VFS_APPLETS_CFLAGS = @GNOME_VFS_APPLETS_CFLAGS@
143
GNOME_VFS_APPLETS_LIBS = @GNOME_VFS_APPLETS_LIBS@
145
GTK_BUILDERDIR = @GTK_BUILDERDIR@
146
GTK_CFLAGS = @GTK_CFLAGS@
147
GTK_FLAGS = @GTK_FLAGS@
148
GTK_LIBS = @GTK_LIBS@
149
GTOP_APPLETS_CFLAGS = @GTOP_APPLETS_CFLAGS@
150
GTOP_APPLETS_LIBS = @GTOP_APPLETS_LIBS@
151
GUCHARMAP2_CFLAGS = @GUCHARMAP2_CFLAGS@
152
GUCHARMAP2_LIBS = @GUCHARMAP2_LIBS@
153
GUCHARMAP_CFLAGS = @GUCHARMAP_CFLAGS@
154
GUCHARMAP_LIBS = @GUCHARMAP_LIBS@
155
HAL_CFLAGS = @HAL_CFLAGS@
156
HAL_LIBS = @HAL_LIBS@
158
HAVE_LIBAPM = @HAVE_LIBAPM@
159
HAVE_XKB = @HAVE_XKB@
160
HELP_DIR = @HELP_DIR@
162
INSTALL_DATA = @INSTALL_DATA@
163
INSTALL_PROGRAM = @INSTALL_PROGRAM@
164
INSTALL_SCRIPT = @INSTALL_SCRIPT@
165
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
166
INSTOBJEXT = @INSTOBJEXT@
167
INTLLIBS = @INTLLIBS@
168
INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
169
INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
170
INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
171
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
172
INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
173
INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
174
INTLTOOL_MERGE = @INTLTOOL_MERGE@
175
INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
176
INTLTOOL_PERL = @INTLTOOL_PERL@
177
INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
178
INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
179
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
180
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
181
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
182
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
183
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
184
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
185
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
186
INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
187
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
188
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
189
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
190
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
193
LIBCPUFREQ_LIBS = @LIBCPUFREQ_LIBS@
195
LIBGNOMEKBDUI_CFLAGS = @LIBGNOMEKBDUI_CFLAGS@
196
LIBGNOMEKBDUI_LIBS = @LIBGNOMEKBDUI_LIBS@
197
LIBGWEATHER_CFLAGS = @LIBGWEATHER_CFLAGS@
198
LIBGWEATHER_LIBS = @LIBGWEATHER_LIBS@
199
LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
200
LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
204
LIBWNCK_CFLAGS = @LIBWNCK_CFLAGS@
205
LIBWNCK_LIBS = @LIBWNCK_LIBS@
207
LTLIBOBJS = @LTLIBOBJS@
209
MAKEINFO = @MAKEINFO@
210
MIXER_CFLAGS = @MIXER_CFLAGS@
211
MIXER_LIBS = @MIXER_LIBS@
213
MKINSTALLDIRS = @MKINSTALLDIRS@
214
MODEMLIGHTS_LIBS = @MODEMLIGHTS_LIBS@
216
MSGFMT_OPTS = @MSGFMT_OPTS@
217
MSGMERGE = @MSGMERGE@
218
NEED_LIBAPM = @NEED_LIBAPM@
223
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224
PACKAGE_NAME = @PACKAGE_NAME@
225
PACKAGE_STRING = @PACKAGE_STRING@
226
PACKAGE_TARNAME = @PACKAGE_TARNAME@
227
PACKAGE_VERSION = @PACKAGE_VERSION@
228
PATH_SEPARATOR = @PATH_SEPARATOR@
229
PKG_CONFIG = @PKG_CONFIG@
232
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
233
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
235
PYGTK_CFLAGS = @PYGTK_CFLAGS@
236
PYGTK_LIBS = @PYGTK_LIBS@
238
PYTHONDIR = @PYTHONDIR@
239
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
240
PYTHON_INCLUDES = @PYTHON_INCLUDES@
241
PYTHON_PLATFORM = @PYTHON_PLATFORM@
242
PYTHON_PREFIX = @PYTHON_PREFIX@
243
PYTHON_VERSION = @PYTHON_VERSION@
245
SCROLLKEEPER_CONFIG = @SCROLLKEEPER_CONFIG@
246
SCROLLKEEPER_REQUIRED = @SCROLLKEEPER_REQUIRED@
248
SET_MAKE = @SET_MAKE@
252
SYSCONFDIR = @SYSCONFDIR@
255
WARN_CFLAGS = @WARN_CFLAGS@
256
XGETTEXT = @XGETTEXT@
258
XML2_CFLAGS = @XML2_CFLAGS@
259
XML2_LIBS = @XML2_LIBS@
260
XSLTPROC = @XSLTPROC@
261
X_CFLAGS = @X_CFLAGS@
262
X_EXTRA_LIBS = @X_EXTRA_LIBS@
264
X_PRE_LIBS = @X_PRE_LIBS@
265
abs_builddir = @abs_builddir@
266
abs_srcdir = @abs_srcdir@
267
abs_top_builddir = @abs_top_builddir@
268
abs_top_srcdir = @abs_top_srcdir@
269
ac_ct_CC = @ac_ct_CC@
270
ac_ct_CXX = @ac_ct_CXX@
271
ac_ct_F77 = @ac_ct_F77@
272
am__include = @am__include@
273
am__leading_dot = @am__leading_dot@
274
am__quote = @am__quote@
276
am__untar = @am__untar@
279
build_alias = @build_alias@
280
build_cpu = @build_cpu@
281
build_os = @build_os@
282
build_vendor = @build_vendor@
283
builddir = @builddir@
284
builderdir = @builderdir@
286
datarootdir = @datarootdir@
289
exec_prefix = @exec_prefix@
290
gnomelocaledir = @gnomelocaledir@
292
host_alias = @host_alias@
293
host_cpu = @host_cpu@
295
host_vendor = @host_vendor@
297
iconsdir = @iconsdir@
298
includedir = @includedir@
300
install_sh = @install_sh@
302
libexecdir = @libexecdir@
303
localedir = @localedir@
304
localstatedir = @localstatedir@
307
oldincludedir = @oldincludedir@
309
pixmapsdir = @pixmapsdir@
310
pkgpyexecdir = @pkgpyexecdir@
311
pkgpythondir = @pkgpythondir@
313
program_transform_name = @program_transform_name@
315
pyexecdir = @pyexecdir@
316
pythondir = @pythondir@
318
sharedstatedir = @sharedstatedir@
320
sysconfdir = @sysconfdir@
321
target_alias = @target_alias@
322
top_builddir = @top_builddir@
323
top_srcdir = @top_srcdir@
324
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
325
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
326
_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)), \
327
$(filter $(LINGUAS),$(DOC_LINGUAS)), \
330
_DOC_ABS_SRCDIR = @abs_srcdir@
331
@ENABLE_SK_TRUE@_ENABLE_SK = true
333
################################################################################
335
--stringparam db2omf.basename $(DOC_MODULE) \
336
--stringparam db2omf.format $(3) \
337
--stringparam db2omf.dtd \
338
$(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1 \
339
| sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/') \
340
--stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
341
--stringparam db2omf.omf_dir "$(OMF_DIR)" \
342
--stringparam db2omf.help_dir "$(HELP_DIR)" \
343
--stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \
344
$(if $(_ENABLE_SK), \
345
--stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)") \
348
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
349
_DOC_OMF_DB = $(if $(_DOC_OMF_IN), \
350
$(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
352
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN), \
353
$(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
358
$(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB)) \
359
$(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
362
################################################################################
363
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
364
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
365
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
367
$(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \
370
_DOC_C_DOCS_NOENT = \
371
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES)
373
_DOC_C_FIGURES = $(if $(DOC_FIGURES), \
374
$(foreach fig,$(DOC_FIGURES),C/$(fig)), \
375
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
378
# FIXME: probably have to shell escape to determine the file names
379
_DOC_C_HTML = $(foreach f, \
380
$(shell xsltproc --xinclude \
381
--stringparam db.chunk.basename "$(DOC_MODULE)" \
382
$(_chunks) "C/$(DOC_MODULE).xml"), \
386
###############################################################################
387
_DOC_POFILES = $(if $(DOC_MODULE), \
388
$(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
390
_DOC_LC_MODULES = $(if $(DOC_MODULE), \
391
$(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
394
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \
395
$(lc)/$(notdir $(inc)) ))
398
# FIXME: probably have to shell escape to determine the file names
400
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML), \
401
$(lc)/$(notdir $(doc)) ))
404
$(_DOC_LC_MODULES) $(_DOC_LC_INCLUDES) \
405
$(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
407
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS), \
408
$(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
411
$(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS), \
412
$(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
414
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot)
416
################################################################################
417
_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
418
$(_DOC_C_HTML) $(_DOC_LC_HTML))
420
_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
421
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
422
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
423
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
424
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
425
DOC_MODULE = invest-applet
426
DOC_ENTITIES = legal.xml
432
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
434
case '$(am__configure_deps)' in \
436
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
441
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu invest-applet/docs/Makefile'; \
442
cd $(top_srcdir) && \
443
$(AUTOMAKE) --gnu invest-applet/docs/Makefile
445
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
448
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
450
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
451
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
454
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
455
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
457
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
458
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
459
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
460
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
474
distdir: $(DISTFILES)
475
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
476
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
477
list='$(DISTFILES)'; \
478
dist_files=`for file in $$list; do echo $$file; done | \
479
sed -e "s|^$$srcdirstrip/||;t" \
480
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
481
case $$dist_files in \
482
*/*) $(MKDIR_P) `echo "$$dist_files" | \
483
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
486
for file in $$dist_files; do \
487
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
488
if test -d $$d/$$file; then \
489
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
490
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
491
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
493
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
495
test -f $(distdir)/$$file \
496
|| cp -p $$d/$$file $(distdir)/$$file \
500
$(MAKE) $(AM_MAKEFLAGS) \
501
top_distdir="$(top_distdir)" distdir="$(distdir)" \
508
install-exec: install-exec-am
509
install-data: install-data-am
510
uninstall: uninstall-am
513
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
515
installcheck: installcheck-am
517
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
518
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
519
`test -z '$(STRIP)' || \
520
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
526
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
528
maintainer-clean-generic:
529
@echo "This command is intended for maintainers to use"
530
@echo "it deletes files that may require special tools to rebuild."
533
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
535
distclean: distclean-am
537
distclean-am: clean-am distclean-generic distclean-local
549
install-data-am: install-data-local
551
install-dvi: install-dvi-am
555
install-html: install-html-am
557
install-info: install-info-am
561
install-pdf: install-pdf-am
563
install-ps: install-ps-am
567
maintainer-clean: maintainer-clean-am
569
maintainer-clean-am: distclean-am maintainer-clean-generic \
570
maintainer-clean-local
572
mostlyclean: mostlyclean-am
574
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
585
uninstall-am: uninstall-local
587
.MAKE: install-am install-strip
589
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
590
clean-local dist-hook distclean distclean-generic \
591
distclean-libtool distclean-local distdir dvi dvi-am html \
592
html-am info info-am install install-am install-data \
593
install-data-am install-data-local install-dvi install-dvi-am \
594
install-exec install-exec-am install-html install-html-am \
595
install-info install-info-am install-man install-pdf \
596
install-pdf-am install-ps install-ps-am install-strip \
597
installcheck installcheck-am installdirs maintainer-clean \
598
maintainer-clean-generic maintainer-clean-local mostlyclean \
599
mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
600
pdf-am ps ps-am uninstall uninstall-am uninstall-local
607
$(DOC_H_FILE): $(DOC_H_DOCS);
608
@rm -f $@.tmp; touch $@.tmp;
609
echo 'const gchar* documentation_credits[] = {' >> $@.tmp
610
list='$(DOC_H_DOCS)'; for doc in $$list; do \
611
xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
612
if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
613
xsltproc --path "$$xmlpath" $(_credits) $$doc; \
615
| 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}}' \
616
| sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
617
echo ' NULL' >> $@.tmp
620
list='$(DOC_H_DOCS)'; for doc in $$list; do \
621
xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
622
if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
623
docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
624
| sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
626
ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
627
for id in $$ids; do \
628
echo '#define HELP_'`echo $$docid`'_'`echo $$id \
629
| sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
633
cp $@.tmp $@ && rm -f $@.tmp
636
@HAVE_GNOME_DOC_UTILS_FALSE@ @echo "*** GNOME Doc Utils must be installed in order to make dist"
637
@HAVE_GNOME_DOC_UTILS_FALSE@ @false
639
.PHONY: dist-doc-header
640
dist-doc-header: $(DOC_H_FILE)
641
@if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
642
echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
643
$(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
645
doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
647
.PHONY: clean-doc-header
648
clean-local: $(_clean_doc_header)
649
distclean-local: $(_clean_doc_header)
650
mostlyclean-local: $(_clean_doc_header)
651
maintainer-clean-local: $(_clean_doc_header)
657
################################################################################
667
DOC_FORMATS ?= docbook
671
################################################################################
673
_xml2po ?= `which xml2po`
675
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
676
_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
677
_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
678
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
679
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
680
@ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
681
@ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
682
@ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
684
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
685
$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
686
@test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
687
echo "The file '$(_skcontentslist)' does not exist." >&2; \
688
echo "Please check your ScrollKeeper installation." >&2; \
690
xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
692
$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
693
$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
694
@ENABLE_SK_TRUE@ @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
695
@ENABLE_SK_TRUE@ echo "The file '$(_skcontentslist)' does not exist" >&2; \
696
@ENABLE_SK_TRUE@ echo "Please check your ScrollKeeper installation." >&2; \
697
@ENABLE_SK_TRUE@ exit 1; }
698
xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
707
@if ! test -d $(dir $@); then \
708
echo "mkdir $(dir $@)"; \
711
@if test ! -f $@ -a -f $(srcdir)/$@; then \
712
echo "cp $(srcdir)/$@ $@"; \
713
cp "$(srcdir)/$@" "$@"; \
716
list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
717
docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
719
if ! test -f $@; then \
720
echo "(cd $(dir $@) && \
721
$(_xml2po) -e $$docs > $(notdir $@).tmp && \
722
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
724
$(_xml2po) -e $$docs > $(notdir $@).tmp && \
725
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
727
echo "(cd $(dir $@) && \
728
$(_xml2po) -e -u $(notdir $@) $$docs)"; \
730
$(_xml2po) -e -u $(notdir $@) $$docs); \
733
# FIXME: fix the dependancy
734
# FIXME: hook xml2po up
735
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
736
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
737
if ! test -d $(dir $@); then mkdir $(dir $@); fi
738
if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
741
"$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
742
"$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
743
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
746
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
747
$(_xml2po) -e -o $@ $^
749
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
750
xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
752
################################################################################
755
$(_DOC_C_DOCS) $(_DOC_LC_DOCS) \
756
$(_DOC_OMF_ALL) $(_DOC_DSK_ALL) \
757
$(_DOC_HTML_ALL) $(_DOC_POFILES)
759
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
761
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
762
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
764
rm -f $(_DOC_LC_DOCS)
765
@list='$(_DOC_POFILES)'; for po in $$list; do \
766
if ! test "$$po" -ef "$(srcdir)/$$po"; then \
771
@for lc in C $(_DOC_REAL_LINGUAS); do \
772
if test -f "$$lc/.xml2po.mo"; then \
773
echo "rm -f $$lc/.xml2po.mo"; \
774
rm -f "$$lc/.xml2po.mo"; \
778
@for lc in C $(_DOC_REAL_LINGUAS); do \
779
for dir in `find $$lc -depth -type d`; do \
780
if ! test $$dir -ef $(srcdir)/$$dir; then \
781
echo "rmdir $$dir"; \
788
$(_clean_omf) $(_clean_dsk) \
789
$(_clean_lc) $(_clean_dir)
791
$(_clean_omf) $(_clean_dsk) \
792
$(_clean_lc) $(_clean_dir)
794
$(_clean_omf) $(_clean_dsk) \
795
$(_clean_lc) $(_clean_dir)
796
maintainer-clean-local: \
797
$(_clean_omf) $(_clean_dsk) \
798
$(_clean_lc) $(_clean_dir)
800
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
802
$(if $(DOC_MODULE),dist-doc-docs) \
803
$(if $(_DOC_C_FIGURES),dist-doc-figs) \
804
$(if $(_DOC_OMF_IN),dist-doc-omf)
805
# $(if $(_DOC_DSK_IN),dist-doc-dsk)
807
dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
808
@for lc in C $(_DOC_REAL_LINGUAS); do \
809
echo " $(mkinstalldirs) $(distdir)/$$lc"; \
810
$(mkinstalldirs) "$(distdir)/$$lc"; \
812
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
813
for doc in $$list; do \
814
if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
815
docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
816
if ! test -d "$(distdir)/$$docdir"; then \
817
echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
818
$(mkinstalldirs) "$(distdir)/$$docdir"; \
820
echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
821
$(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
824
dist-doc-figs: $(_DOC_SRC_FIGURES)
825
@list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
826
for fig in $$list; do \
827
if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
828
if test -f "$$d$$fig"; then \
829
figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
830
if ! test -d "$(distdir)/$$figdir"; then \
831
echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
832
$(mkinstalldirs) "$(distdir)/$$figdir"; \
834
echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
835
$(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
840
@if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
841
echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
842
$(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
845
@if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
846
echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
847
$(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
849
.PHONY: check-doc-docs check-doc-omf
851
$(if $(DOC_MODULE),check-doc-docs) \
852
$(if $(_DOC_OMF_IN),check-doc-omf)
854
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
855
@for lc in C $(_DOC_REAL_LINGUAS); do \
861
xmlpath="$$lc:$(srcdir)/$$lc"; \
863
echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
864
xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
867
check-doc-omf: $(_DOC_OMF_ALL)
868
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
869
echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
870
xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
873
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
874
install-data-local: \
875
$(if $(DOC_MODULE),install-doc-docs) \
876
$(if $(_DOC_HTML_ALL),install-doc-html) \
877
$(if $(_DOC_C_FIGURES),install-doc-figs) \
878
$(if $(_DOC_OMF_IN),install-doc-omf)
879
# $(if $(_DOC_DSK_IN),install-doc-dsk)
882
@for lc in C $(_DOC_REAL_LINGUAS); do \
883
echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
884
$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
886
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
887
if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
888
docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
889
docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
890
if ! test -d "$$docdir"; then \
891
echo "$(mkinstalldirs) $$docdir"; \
892
$(mkinstalldirs) "$$docdir"; \
894
echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
895
$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
899
@list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
900
for lc in C $(_DOC_REAL_LINGUAS); do \
901
if test -f "$$lc/$$fig"; then \
902
figfile="$$lc/$$fig"; \
903
elif test -f "$(srcdir)/$$lc/$$fig"; then \
904
figfile="$(srcdir)/$$lc/$$fig"; \
905
elif test -f "C/$$fig"; then \
908
figfile="$(srcdir)/C/$$fig"; \
910
figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
911
figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
912
if ! test -d "$$figdir"; then \
913
echo "$(mkinstalldirs) $$figdir"; \
914
$(mkinstalldirs) "$$figdir"; \
916
figbase=`echo $$fig | sed -e 's/^.*\///'`; \
917
echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
918
$(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
926
$(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
927
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
928
echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
929
$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
931
@if test "x$(_ENABLE_SK)" = "xtrue"; then \
932
echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
933
scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
939
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
941
$(if $(DOC_MODULE),uninstall-doc-docs) \
942
$(if $(_DOC_HTML_ALL),uninstall-doc-html) \
943
$(if $(_DOC_C_FIGURES),uninstall-doc-figs) \
944
$(if $(_DOC_OMF_IN),uninstall-doc-omf)
945
# $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
948
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
949
echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
950
rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
954
@list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
955
echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
956
rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
960
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
961
if test "x$(_ENABLE_SK)" = "xtrue"; then \
962
echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
963
scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
965
echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
966
rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
968
dist-hook: doc-dist-hook
969
# Tell versions [3.59,3.63) of GNU make to not export all variables.
970
# Otherwise a system limit (for SysV at least) may be exceeded.