1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
# help/Makefile. Generated from Makefile.in by configure.
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005 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
################################################################################
43
pkgdatadir = $(datadir)/scribes
44
pkglibdir = $(libdir)/scribes
45
pkgincludedir = $(includedir)/scribes
47
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48
INSTALL = /usr/bin/install -c
49
install_sh_DATA = $(install_sh) -c -m 644
50
install_sh_PROGRAM = $(install_sh) -c
51
install_sh_SCRIPT = $(install_sh) -c
52
INSTALL_HEADER = $(INSTALL_DATA)
53
transform = $(program_transform_name)
60
build_triplet = i686-pc-linux-gnu
61
host_triplet = i686-pc-linux-gnu
62
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
63
$(top_srcdir)/gnome-doc-utils.make
65
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66
am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
67
$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/configure.ac
68
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
70
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
74
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75
ACLOCAL = ${SHELL} /home/goldenmyst/scribes-dev/missing --run aclocal-1.9
76
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
77
ALL_LINGUAS = de fr nl it pt_BR sv
80
AMTAR = ${SHELL} /home/goldenmyst/scribes-dev/missing --run tar
81
AUTOCONF = ${SHELL} /home/goldenmyst/scribes-dev/missing --run autoconf
82
AUTOHEADER = ${SHELL} /home/goldenmyst/scribes-dev/missing --run autoheader
83
AUTOMAKE = ${SHELL} /home/goldenmyst/scribes-dev/missing --run automake-1.9
85
CATALOGS = de.gmo fr.gmo nl.gmo it.gmo pt_BR.gmo sv.gmo
88
CCDEPMODE = depmode=none
94
DEFS = -DPACKAGE_NAME=\"scribes\" -DPACKAGE_TARNAME=\"scribes\" -DPACKAGE_VERSION=\"0.3.2.9-dev\" -DPACKAGE_STRING=\"scribes\ 0.3.2.9-dev\" -DPACKAGE_BUGREPORT=\"\<mystilleef@gmail.com\>\" -DPACKAGE=\"scribes\" -DVERSION=\"0.3.2.9-dev\" -DGETTEXT_PACKAGE=\"scribes\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1
104
GCONFTOOL = /usr/bin/gconftool-2
105
GCONF_SCHEMAS_INSTALL_FALSE = #
106
GCONF_SCHEMAS_INSTALL_TRUE =
107
GCONF_SCHEMA_CONFIG_SOURCE = xml:merged:/etc/gconf/gconf.xml.defaults
108
GCONF_SCHEMA_FILE_DIR = $(sysconfdir)/gconf/schemas
109
GETTEXT_PACKAGE = scribes
110
GMOFILES = de.gmo fr.gmo nl.gmo it.gmo pt_BR.gmo sv.gmo
111
GMSGFMT = /usr/bin/msgfmt
113
HAVE_GNOME_DOC_UTILS_FALSE = #
114
HAVE_GNOME_DOC_UTILS_TRUE =
115
HELP_DIR = ${datadir}/gnome/help
116
INSTALL_DATA = ${INSTALL} -m 644
117
INSTALL_PROGRAM = ${INSTALL}
118
INSTALL_SCRIPT = ${INSTALL}
119
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
122
INTLTOOL_CAVES_RULE = %.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
123
INTLTOOL_DESKTOP_RULE = %.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
124
INTLTOOL_DIRECTORY_RULE = %.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
125
INTLTOOL_EXTRACT = $(top_builddir)/intltool-extract
126
INTLTOOL_KBD_RULE = %.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
127
INTLTOOL_KEYS_RULE = %.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
128
INTLTOOL_MERGE = $(top_builddir)/intltool-merge
129
INTLTOOL_OAF_RULE = %.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@
130
INTLTOOL_PERL = /usr/bin/perl
131
INTLTOOL_POLICY_RULE = %.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
132
INTLTOOL_PONG_RULE = %.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
133
INTLTOOL_PROP_RULE = %.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
134
INTLTOOL_SCHEMAS_RULE = %.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
135
INTLTOOL_SERVER_RULE = %.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
136
INTLTOOL_SERVICE_RULE = %.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
137
INTLTOOL_SHEET_RULE = %.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
138
INTLTOOL_SOUNDLIST_RULE = %.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
139
INTLTOOL_THEME_RULE = %.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
140
INTLTOOL_UI_RULE = %.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
141
INTLTOOL_UPDATE = $(top_builddir)/intltool-update
142
INTLTOOL_XAM_RULE = %.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
143
INTLTOOL_XML_NOMERGE_RULE = %.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@
144
INTLTOOL_XML_RULE = %.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
150
MAINTAINER_MODE_FALSE = #
151
MAINTAINER_MODE_TRUE =
152
MAKEINFO = ${SHELL} /home/goldenmyst/scribes-dev/missing --run makeinfo
153
MKINSTALLDIRS = ./mkinstalldirs
154
MSGFMT = /usr/bin/msgfmt
157
OMF_DIR = ${datadir}/omf
159
PACKAGE_BUGREPORT = <mystilleef@gmail.com>
160
PACKAGE_NAME = scribes
161
PACKAGE_STRING = scribes 0.3.2.9-dev
162
PACKAGE_TARNAME = scribes
163
PACKAGE_VERSION = 0.3.2.9-dev
165
PKG_CONFIG = /usr/bin/pkg-config
166
POFILES = de.po fr.po nl.po it.po pt_BR.po sv.po
168
PO_IN_DATADIR_FALSE =
170
PYTHON = /usr/bin/python
171
PYTHON_EXEC_PREFIX = ${exec_prefix}
172
PYTHON_PLATFORM = linux2
173
PYTHON_PREFIX = ${prefix}
180
VERSION = 0.3.2.9-dev
181
XGETTEXT = /usr/bin/xgettext
184
am__fastdepCC_FALSE =
185
am__fastdepCC_TRUE = #
186
am__include = include
189
am__tar = ${AMTAR} chof - "$$tardir"
190
am__untar = ${AMTAR} xf -
191
bindir = ${exec_prefix}/bin
192
build = i686-pc-linux-gnu
197
datadir = ${datarootdir}
198
datarootdir = ${prefix}/share
199
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
201
exec_prefix = ${prefix}
202
host = i686-pc-linux-gnu
208
includedir = ${prefix}/include
209
infodir = ${datarootdir}/info
210
install_sh = /home/goldenmyst/scribes-dev/install-sh
211
libdir = ${exec_prefix}/lib
212
libexecdir = ${exec_prefix}/libexec
213
localedir = ${datarootdir}/locale
214
localstatedir = ${prefix}/var
215
mandir = ${datarootdir}/man
216
mkdir_p = mkdir -p --
217
oldincludedir = /usr/include
219
pkgpyexecdir = ${pyexecdir}/scribes
220
pkgpythondir = ${pythondir}/scribes
222
program_transform_name = s,x,x,
224
pyexecdir = ${exec_prefix}/lib/python2.5/site-packages
225
pythondir = ${prefix}/lib/python2.5/site-packages
226
sbindir = ${exec_prefix}/sbin
227
sharedstatedir = ${prefix}/com
228
sysconfdir = ${prefix}/etc
230
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
231
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
232
_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)), \
233
$(filter $(LINGUAS),$(DOC_LINGUAS)), \
236
_DOC_ABS_SRCDIR = /home/goldenmyst/scribes-dev/help
239
################################################################################
241
--stringparam db2omf.basename $(DOC_MODULE) \
242
--stringparam db2omf.format $(3) \
243
--stringparam db2omf.dtd \
244
$(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1 \
245
| sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/') \
246
--stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
247
--stringparam db2omf.omf_dir "$(OMF_DIR)" \
248
--stringparam db2omf.help_dir "$(HELP_DIR)" \
249
--stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \
250
$(if $(_ENABLE_SK), \
251
--stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)") \
254
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
255
_DOC_OMF_DB = $(if $(_DOC_OMF_IN), \
256
$(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
258
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN), \
259
$(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
264
$(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB)) \
265
$(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
268
################################################################################
269
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
270
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
271
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
273
$(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \
276
_DOC_C_DOCS_NOENT = \
277
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES)
279
_DOC_C_FIGURES = $(if $(DOC_FIGURES), \
280
$(foreach fig,$(DOC_FIGURES),C/$(fig)), \
281
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
284
# FIXME: probably have to shell escape to determine the file names
285
_DOC_C_HTML = $(foreach f, \
286
$(shell xsltproc --xinclude \
287
--stringparam db.chunk.basename "$(DOC_MODULE)" \
288
$(_chunks) "C/$(DOC_MODULE).xml"), \
292
###############################################################################
293
_DOC_POFILES = $(if $(DOC_MODULE), \
294
$(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
296
_DOC_LC_MODULES = $(if $(DOC_MODULE), \
297
$(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
300
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \
301
$(lc)/$(notdir $(inc)) ))
304
# FIXME: probably have to shell escape to determine the file names
306
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML), \
307
$(lc)/$(notdir $(doc)) ))
310
$(_DOC_LC_MODULES) $(_DOC_LC_INCLUDES) \
311
$(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
313
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS), \
314
$(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
317
$(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS), \
318
$(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
320
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot)
322
################################################################################
323
_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
324
$(_DOC_C_HTML) $(_DOC_LC_HTML))
326
_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
327
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
328
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
329
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
330
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
333
DOC_INCLUDES = legal.xml
335
figures/scribes_add_dialog.png \
336
figures/scribes_completion.png \
337
figures/scribes_template_editor.png \
338
figures/scribes_document_switcher.png \
339
figures/scribes_test_template.png \
340
figures/scribes_toolbar.png \
341
figures/scribes_placeholder.png \
342
figures/scribes_window.png \
343
figures/scribes_popup_menu.png
349
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
351
case '$(am__configure_deps)' in \
353
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
358
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu help/Makefile'; \
359
cd $(top_srcdir) && \
360
$(AUTOMAKE) --gnu help/Makefile
362
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
365
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
367
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
368
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
371
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
372
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
374
$(top_srcdir)/configure: $(am__configure_deps)
375
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
376
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
377
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
386
distdir: $(DISTFILES)
387
$(mkdir_p) $(distdir)/..
388
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
389
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
390
list='$(DISTFILES)'; for file in $$list; do \
392
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
393
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
395
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
396
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
397
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
399
$(mkdir_p) "$(distdir)$$dir"; \
403
if test -d $$d/$$file; then \
404
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
405
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
407
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
409
test -f $(distdir)/$$file \
410
|| cp -p $$d/$$file $(distdir)/$$file \
414
$(MAKE) $(AM_MAKEFLAGS) \
415
top_distdir="$(top_distdir)" distdir="$(distdir)" \
422
install-exec: install-exec-am
423
install-data: install-data-am
424
uninstall: uninstall-am
427
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
429
installcheck: installcheck-am
431
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
432
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
433
`test -z '$(STRIP)' || \
434
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
440
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
442
maintainer-clean-generic:
443
@echo "This command is intended for maintainers to use"
444
@echo "it deletes files that may require special tools to rebuild."
447
clean-am: clean-generic clean-local mostlyclean-am
449
distclean: distclean-am
451
distclean-am: clean-am distclean-generic distclean-local
463
install-data-am: install-data-local
467
install-info: install-info-am
473
maintainer-clean: maintainer-clean-am
475
maintainer-clean-am: distclean-am maintainer-clean-generic \
476
maintainer-clean-local
478
mostlyclean: mostlyclean-am
480
mostlyclean-am: mostlyclean-generic mostlyclean-local
490
uninstall-am: uninstall-info-am uninstall-local
492
.PHONY: all all-am check check-am clean clean-generic clean-local \
493
dist-hook distclean distclean-generic distclean-local distdir \
494
dvi dvi-am html html-am info info-am install install-am \
495
install-data install-data-am install-data-local install-exec \
496
install-exec-am install-info install-info-am install-man \
497
install-strip installcheck installcheck-am installdirs \
498
maintainer-clean maintainer-clean-generic \
499
maintainer-clean-local mostlyclean mostlyclean-generic \
500
mostlyclean-local pdf pdf-am ps ps-am uninstall uninstall-am \
501
uninstall-info-am uninstall-local
508
$(DOC_H_FILE): $(DOC_H_DOCS);
509
@rm -f $@.tmp; touch $@.tmp;
510
echo 'const gchar* documentation_credits[] = {' >> $@.tmp
511
list='$(DOC_H_DOCS)'; for doc in $$list; do \
512
xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
513
if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
514
xsltproc --path "$$xmlpath" $(_credits) $$doc; \
516
| 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}}' \
517
| sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
518
echo ' NULL' >> $@.tmp
521
list='$(DOC_H_DOCS)'; for doc in $$list; do \
522
xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
523
if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
524
docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
525
| sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
527
ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
528
for id in $$ids; do \
529
echo '#define HELP_'`echo $$docid`'_'`echo $$id \
530
| sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
534
cp $@.tmp $@ && rm -f $@.tmp
537
# @echo "*** GNOME Doc Utils must be installed in order to make dist"
540
.PHONY: dist-doc-header
541
dist-doc-header: $(DOC_H_FILE)
542
@if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
543
echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
544
$(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
546
doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
548
.PHONY: clean-doc-header
549
clean-local: $(_clean_doc_header)
550
distclean-local: $(_clean_doc_header)
551
mostlyclean-local: $(_clean_doc_header)
552
maintainer-clean-local: $(_clean_doc_header)
558
################################################################################
568
DOC_FORMATS ?= docbook
572
################################################################################
574
_xml2po ?= `which xml2po`
576
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
577
_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
578
_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
579
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
580
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
581
_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
582
_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
583
_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
585
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
586
$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
587
@test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
588
echo "The file '$(_skcontentslist)' does not exist." >&2; \
589
echo "Please check your ScrollKeeper installation." >&2; \
591
xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
593
$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
594
$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
595
@test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
596
echo "The file '$(_skcontentslist)' does not exist" >&2; \
597
echo "Please check your ScrollKeeper installation." >&2; \
599
xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
608
@if ! test -d $(dir $@); then \
609
echo "mkdir $(dir $@)"; \
612
@if test ! -f $@ -a -f $(srcdir)/$@; then \
613
echo "cp $(srcdir)/$@ $@"; \
614
cp "$(srcdir)/$@" "$@"; \
617
list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
618
docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
620
if ! test -f $@; then \
621
echo "(cd $(dir $@) && \
622
$(_xml2po) -e $$docs > $(notdir $@).tmp && \
623
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
625
$(_xml2po) -e $$docs > $(notdir $@).tmp && \
626
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
628
echo "(cd $(dir $@) && \
629
$(_xml2po) -e -u $(notdir $@) $$docs)"; \
631
$(_xml2po) -e -u $(notdir $@) $$docs); \
634
# FIXME: fix the dependancy
635
# FIXME: hook xml2po up
636
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
637
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
638
if ! test -d $(dir $@); then mkdir $(dir $@); fi
639
if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
642
"$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
643
"$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
644
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
647
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
648
$(_xml2po) -e -o $@ $^
650
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
651
xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
653
################################################################################
656
$(_DOC_C_DOCS) $(_DOC_LC_DOCS) \
657
$(_DOC_OMF_ALL) $(_DOC_DSK_ALL) \
658
$(_DOC_HTML_ALL) $(_DOC_POFILES)
660
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
662
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
663
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
665
rm -f $(_DOC_LC_DOCS)
666
@list='$(_DOC_POFILES)'; for po in $$list; do \
667
if ! test "$$po" -ef "$(srcdir)/$$po"; then \
672
@for lc in C $(_DOC_REAL_LINGUAS); do \
673
if test -f "$$lc/.xml2po.mo"; then \
674
echo "rm -f $$lc/.xml2po.mo"; \
675
rm -f "$$lc/.xml2po.mo"; \
679
@for lc in C $(_DOC_REAL_LINGUAS); do \
680
for dir in `find $$lc -depth -type d`; do \
681
if ! test $$dir -ef $(srcdir)/$$dir; then \
682
echo "rmdir $$dir"; \
689
$(_clean_omf) $(_clean_dsk) \
690
$(_clean_lc) $(_clean_dir)
692
$(_clean_omf) $(_clean_dsk) \
693
$(_clean_lc) $(_clean_dir)
695
$(_clean_omf) $(_clean_dsk) \
696
$(_clean_lc) $(_clean_dir)
697
maintainer-clean-local: \
698
$(_clean_omf) $(_clean_dsk) \
699
$(_clean_lc) $(_clean_dir)
701
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
703
$(if $(DOC_MODULE),dist-doc-docs) \
704
$(if $(_DOC_C_FIGURES),dist-doc-figs) \
705
$(if $(_DOC_OMF_IN),dist-doc-omf)
706
# $(if $(_DOC_DSK_IN),dist-doc-dsk)
708
dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
709
@for lc in C $(_DOC_REAL_LINGUAS); do \
710
echo " $(mkinstalldirs) $(distdir)/$$lc"; \
711
$(mkinstalldirs) "$(distdir)/$$lc"; \
713
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
714
for doc in $$list; do \
715
if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
716
docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
717
if ! test -d "$(distdir)/$$docdir"; then \
718
echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
719
$(mkinstalldirs) "$(distdir)/$$docdir"; \
721
echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
722
$(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
725
dist-doc-figs: $(_DOC_SRC_FIGURES)
726
@list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
727
for fig in $$list; do \
728
if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
729
if test -f "$$d$$fig"; then \
730
figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
731
if ! test -d "$(distdir)/$$figdir"; then \
732
echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
733
$(mkinstalldirs) "$(distdir)/$$figdir"; \
735
echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
736
$(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
741
@if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
742
echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
743
$(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
746
@if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
747
echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
748
$(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
750
.PHONY: check-doc-docs check-doc-omf
752
$(if $(DOC_MODULE),check-doc-docs) \
753
$(if $(_DOC_OMF_IN),check-doc-omf)
755
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
756
@for lc in C $(_DOC_REAL_LINGUAS); do \
762
xmlpath="$$lc:$(srcdir)/$$lc"; \
764
echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
765
xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
768
check-doc-omf: $(_DOC_OMF_ALL)
769
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
770
echo "xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
771
xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
774
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
775
install-data-local: \
776
$(if $(DOC_MODULE),install-doc-docs) \
777
$(if $(_DOC_HTML_ALL),install-doc-html) \
778
$(if $(_DOC_C_FIGURES),install-doc-figs) \
779
$(if $(_DOC_OMF_IN),install-doc-omf)
780
# $(if $(_DOC_DSK_IN),install-doc-dsk)
783
@for lc in C $(_DOC_REAL_LINGUAS); do \
784
echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
785
$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
787
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
788
if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
789
docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
790
docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
791
if ! test -d "$$docdir"; then \
792
echo "$(mkinstalldirs) $$docdir"; \
793
$(mkinstalldirs) "$$docdir"; \
795
echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
796
$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
800
@list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
801
for lc in C $(_DOC_REAL_LINGUAS); do \
802
if test -f "$$lc/$$fig"; then \
803
figfile="$$lc/$$fig"; \
804
elif test -f "$(srcdir)/$$lc/$$fig"; then \
805
figfile="$(srcdir)/$$lc/$$fig"; \
806
elif test -f "C/$$fig"; then \
809
figfile="$(srcdir)/C/$$fig"; \
811
figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
812
figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
813
if ! test -d "$$figdir"; then \
814
echo "$(mkinstalldirs) $$figdir"; \
815
$(mkinstalldirs) "$$figdir"; \
817
figbase=`echo $$fig | sed -e 's/^.*\///'`; \
818
echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
819
$(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
827
$(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
828
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
829
echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
830
$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
832
@if test "x$(_ENABLE_SK)" = "xtrue"; then \
833
echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
834
scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
840
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
842
$(if $(DOC_MODULE),uninstall-doc-docs) \
843
$(if $(_DOC_HTML_ALL),uninstall-doc-html) \
844
$(if $(_DOC_C_FIGURES),uninstall-doc-figs) \
845
$(if $(_DOC_OMF_IN),uninstall-doc-omf)
846
# $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
849
@list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
850
echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
851
rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
855
@list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
856
echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
857
rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
861
@list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
862
if test "x$(_ENABLE_SK)" = "xtrue"; then \
863
echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
864
scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
866
echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
867
rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
869
dist-hook: doc-dist-hook
870
# Tell versions [3.59,3.63) of GNU make to not export all variables.
871
# Otherwise a system limit (for SysV at least) may be exceeded.