~ubuntu-branches/ubuntu/natty/gst-entrans/natty

« back to all changes in this revision

Viewing changes to docs/plugins/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2010-09-13 19:49:29 UTC
  • Revision ID: james.westby@ubuntu.com-20100913194929-qz90a14xyxln9yfz
Tags: upstream-0.10.2
ImportĀ upstreamĀ versionĀ 0.10.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.10.2 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  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.
 
9
 
 
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
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
 
 
17
# this snippet is to be included by both our docbook manuals
 
18
# and gtk-doc API references
 
19
 
 
20
# it adds an upload target to each of these dir's Makefiles
 
21
 
 
22
# each Makefile.am should define the following variables:
 
23
# - DOC: the base name of the documentation
 
24
#        (faq, manual, pwg, gstreamer, gstreamer-libs)
 
25
# - FORMATS: the formats in which DOC is output
 
26
#            (html ps pdf)
 
27
 
 
28
# if you want to use it, make sure your ..sh/config file contains the
 
29
# correct User entry for the Host entry for the DOC_SERVER
 
30
 
 
31
# This is an include file specifically tuned for building documentation
 
32
# for GStreamer plug-ins
 
33
VPATH = @srcdir@
 
34
pkgdatadir = $(datadir)/@PACKAGE@
 
35
pkglibdir = $(libdir)/@PACKAGE@
 
36
pkgincludedir = $(includedir)/@PACKAGE@
 
37
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
38
install_sh_DATA = $(install_sh) -c -m 644
 
39
install_sh_PROGRAM = $(install_sh) -c
 
40
install_sh_SCRIPT = $(install_sh) -c
 
41
INSTALL_HEADER = $(INSTALL_DATA)
 
42
transform = $(program_transform_name)
 
43
NORMAL_INSTALL = :
 
44
PRE_INSTALL = :
 
45
POST_INSTALL = :
 
46
NORMAL_UNINSTALL = :
 
47
PRE_UNINSTALL = :
 
48
POST_UNINSTALL = :
 
49
build_triplet = @build@
 
50
host_triplet = @host@
 
51
DIST_COMMON = $(srcdir)/../upload.mak $(srcdir)/Makefile.am \
 
52
        $(srcdir)/Makefile.in $(top_srcdir)/common/gtk-doc-plugins.mak
 
53
subdir = docs/plugins
 
54
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
55
am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \
 
56
        $(top_srcdir)/common/m4/as-compiler-flag.m4 \
 
57
        $(top_srcdir)/common/m4/as-docbook.m4 \
 
58
        $(top_srcdir)/common/m4/as-python.m4 \
 
59
        $(top_srcdir)/common/m4/as-version.m4 \
 
60
        $(top_srcdir)/common/m4/check.m4 \
 
61
        $(top_srcdir)/common/m4/gst-args.m4 \
 
62
        $(top_srcdir)/common/m4/gst-doc.m4 \
 
63
        $(top_srcdir)/common/m4/gst-gettext.m4 \
 
64
        $(top_srcdir)/common/m4/gst-plugin-docs.m4 \
 
65
        $(top_srcdir)/common/m4/gtk-doc.m4 \
 
66
        $(top_srcdir)/common/m4/pkg.m4 $(top_srcdir)/m4/gettext.m4 \
 
67
        $(top_srcdir)/m4/gst-man.m4 $(top_srcdir)/m4/iconv.m4 \
 
68
        $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
 
69
        $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/progtest.m4 \
 
70
        $(top_srcdir)/configure.ac
 
71
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
72
        $(ACLOCAL_M4)
 
73
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
74
CONFIG_HEADER = $(top_builddir)/config.h
 
75
CONFIG_CLEAN_FILES =
 
76
SOURCES =
 
77
DIST_SOURCES =
 
78
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
79
ACLOCAL = @ACLOCAL@
 
80
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
 
81
AMTAR = @AMTAR@
 
82
AR = @AR@
 
83
AUTOCONF = @AUTOCONF@
 
84
AUTOHEADER = @AUTOHEADER@
 
85
AUTOMAKE = @AUTOMAKE@
 
86
AWK = @AWK@
 
87
CAT_ENTRY_END = @CAT_ENTRY_END@
 
88
CAT_ENTRY_START = @CAT_ENTRY_START@
 
89
CC = @CC@
 
90
CCAS = @CCAS@
 
91
CCASDEPMODE = @CCASDEPMODE@
 
92
CCASFLAGS = @CCASFLAGS@
 
93
CCDEPMODE = @CCDEPMODE@
 
94
CFLAGS = @CFLAGS@
 
95
CHECK_CFLAGS = @CHECK_CFLAGS@
 
96
CHECK_LIBS = @CHECK_LIBS@
 
97
CPP = @CPP@
 
98
CPPFLAGS = @CPPFLAGS@
 
99
CXXFLAGS = @CXXFLAGS@
 
100
CYGPATH_W = @CYGPATH_W@
 
101
DEFS = @DEFS@
 
102
DEPDIR = @DEPDIR@
 
103
DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@
 
104
DOCBOOK_ROOT = @DOCBOOK_ROOT@
 
105
DSYMUTIL = @DSYMUTIL@
 
106
DUMPBIN = @DUMPBIN@
 
107
ECHO_C = @ECHO_C@
 
108
ECHO_N = @ECHO_N@
 
109
ECHO_T = @ECHO_T@
 
110
EGREP = @EGREP@
 
111
EXEEXT = @EXEEXT@
 
112
FFLAGS = @FFLAGS@
 
113
FGREP = @FGREP@
 
114
GCOV = @GCOV@
 
115
GCOV_CFLAGS = @GCOV_CFLAGS@
 
116
GCOV_LIBS = @GCOV_LIBS@
 
117
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 
118
GMSGFMT = @GMSGFMT@
 
119
GREP = @GREP@
 
120
GSTPB_BASE_CFLAGS = @GSTPB_BASE_CFLAGS@
 
121
GSTPB_BASE_LIBS = @GSTPB_BASE_LIBS@
 
122
GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
 
123
GST_BASE_LIBS = @GST_BASE_LIBS@
 
124
GST_CFLAGS = @GST_CFLAGS@
 
125
GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@
 
126
GST_CHECK_LIBS = @GST_CHECK_LIBS@
 
127
GST_CONTROLLER_CFLAGS = @GST_CONTROLLER_CFLAGS@
 
128
GST_CONTROLLER_LIBS = @GST_CONTROLLER_LIBS@
 
129
GST_LIBS = @GST_LIBS@
 
130
GST_MAJORMINOR = @GST_MAJORMINOR@
 
131
GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@
 
132
GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
 
133
HAVE_DOCBOOK2HTML = @HAVE_DOCBOOK2HTML@
 
134
HAVE_DOCBOOK2MAN = @HAVE_DOCBOOK2MAN@
 
135
HAVE_DOCBOOK2PS = @HAVE_DOCBOOK2PS@
 
136
HAVE_DOCBOOK2X = @HAVE_DOCBOOK2X@
 
137
HAVE_DVIPS = @HAVE_DVIPS@
 
138
HAVE_EPSTOPDF = @HAVE_EPSTOPDF@
 
139
HAVE_FIG2DEV = @HAVE_FIG2DEV@
 
140
HAVE_JADETEX = @HAVE_JADETEX@
 
141
HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
 
142
HAVE_PNGTOPNM = @HAVE_PNGTOPNM@
 
143
HAVE_PNMTOPS = @HAVE_PNMTOPS@
 
144
HAVE_PS2PDF = @HAVE_PS2PDF@
 
145
HAVE_XMLLINT = @HAVE_XMLLINT@
 
146
HTML_DIR = @HTML_DIR@
 
147
INSTALL = @INSTALL@
 
148
INSTALL_DATA = @INSTALL_DATA@
 
149
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
150
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
151
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
152
INTLLIBS = @INTLLIBS@
 
153
LD = @LD@
 
154
LDFLAGS = @LDFLAGS@
 
155
LIBICONV = @LIBICONV@
 
156
LIBINTL = @LIBINTL@
 
157
LIBOBJS = @LIBOBJS@
 
158
LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
 
159
LIBOIL_LIBS = @LIBOIL_LIBS@
 
160
LIBS = @LIBS@
 
161
LIBTOOL = @LIBTOOL@
 
162
LIPO = @LIPO@
 
163
LN_S = @LN_S@
 
164
LOCALEDIR = @LOCALEDIR@
 
165
LTLIBICONV = @LTLIBICONV@
 
166
LTLIBINTL = @LTLIBINTL@
 
167
LTLIBOBJS = @LTLIBOBJS@
 
168
MAINT = @MAINT@
 
169
MAKEINFO = @MAKEINFO@
 
170
MKDIR_P = @MKDIR_P@
 
171
MKINSTALLDIRS = @MKINSTALLDIRS@
 
172
MSGFMT = @MSGFMT@
 
173
MSGMERGE = @MSGMERGE@
 
174
NM = @NM@
 
175
NMEDIT = @NMEDIT@
 
176
OBJDUMP = @OBJDUMP@
 
177
OBJEXT = @OBJEXT@
 
178
OTOOL = @OTOOL@
 
179
OTOOL64 = @OTOOL64@
 
180
PACKAGE = @PACKAGE@
 
181
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
182
PACKAGE_NAME = @PACKAGE_NAME@
 
183
PACKAGE_STRING = @PACKAGE_STRING@
 
184
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
185
PACKAGE_VERSION = @PACKAGE_VERSION@
 
186
PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
 
187
PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
 
188
PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
 
189
PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
 
190
PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
 
191
PATH_SEPARATOR = @PATH_SEPARATOR@
 
192
PERL_PATH = @PERL_PATH@
 
193
PKG_CONFIG = @PKG_CONFIG@
 
194
POSUB = @POSUB@
 
195
PROFILE_CFLAGS = @PROFILE_CFLAGS@
 
196
PYTHON = @PYTHON@
 
197
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
 
198
PYTHON_PLATFORM = @PYTHON_PLATFORM@
 
199
PYTHON_PREFIX = @PYTHON_PREFIX@
 
200
PYTHON_VERSION = @PYTHON_VERSION@
 
201
RANLIB = @RANLIB@
 
202
SED = @SED@
 
203
SET_MAKE = @SET_MAKE@
 
204
SHELL = @SHELL@
 
205
STRIP = @STRIP@
 
206
USE_NLS = @USE_NLS@
 
207
VALGRIND_PATH = @VALGRIND_PATH@
 
208
VERSION = @VERSION@
 
209
XGETTEXT = @XGETTEXT@
 
210
XML_CATALOG = @XML_CATALOG@
 
211
XSLTPROC = @XSLTPROC@
 
212
XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
 
213
abs_builddir = @abs_builddir@
 
214
abs_srcdir = @abs_srcdir@
 
215
abs_top_builddir = @abs_top_builddir@
 
216
abs_top_srcdir = @abs_top_srcdir@
 
217
ac_ct_CC = @ac_ct_CC@
 
218
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
 
219
am__include = @am__include@
 
220
am__leading_dot = @am__leading_dot@
 
221
am__quote = @am__quote@
 
222
am__tar = @am__tar@
 
223
am__untar = @am__untar@
 
224
bindir = @bindir@
 
225
build = @build@
 
226
build_alias = @build_alias@
 
227
build_cpu = @build_cpu@
 
228
build_os = @build_os@
 
229
build_vendor = @build_vendor@
 
230
builddir = @builddir@
 
231
datadir = @datadir@
 
232
datarootdir = @datarootdir@
 
233
docbook2x_PROGRAM = @docbook2x_PROGRAM@
 
234
docdir = @docdir@
 
235
dvidir = @dvidir@
 
236
exec_prefix = @exec_prefix@
 
237
host = @host@
 
238
host_alias = @host_alias@
 
239
host_cpu = @host_cpu@
 
240
host_os = @host_os@
 
241
host_vendor = @host_vendor@
 
242
htmldir = @htmldir@
 
243
includedir = @includedir@
 
244
infodir = @infodir@
 
245
install_sh = @install_sh@
 
246
libdir = @libdir@
 
247
libexecdir = @libexecdir@
 
248
localedir = @localedir@
 
249
localstatedir = @localstatedir@
 
250
lt_ECHO = @lt_ECHO@
 
251
mandir = @mandir@
 
252
mkdir_p = @mkdir_p@
 
253
oldincludedir = @oldincludedir@
 
254
pdfdir = @pdfdir@
 
255
pkgpyexecdir = @pkgpyexecdir@
 
256
pkgpythondir = @pkgpythondir@
 
257
plugindir = @plugindir@
 
258
prefix = @prefix@
 
259
program_transform_name = @program_transform_name@
 
260
psdir = @psdir@
 
261
pyexecdir = @pyexecdir@
 
262
pythondir = @pythondir@
 
263
sbindir = @sbindir@
 
264
sharedstatedir = @sharedstatedir@
 
265
srcdir = @srcdir@
 
266
sysconfdir = @sysconfdir@
 
267
target_alias = @target_alias@
 
268
top_build_prefix = @top_build_prefix@
 
269
top_builddir = @top_builddir@
 
270
top_srcdir = @top_srcdir@
 
271
GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
 
272
 
 
273
# The name of the module, e.g. 'glib'.
 
274
#DOC_MODULE=gst-plugins-libs-@GST_MAJORMINOR@
 
275
MODULE = gst-entrans
 
276
DOC_MODULE = $(MODULE)-plugins
 
277
 
 
278
# for upload.mak
 
279
DOC = $(MODULE)-plugins
 
280
FORMATS = html
 
281
 
 
282
# these variables define the location of the online docs
 
283
DOC_SERVER = web.sourceforge.net
 
284
DOC_BASE = /home/groups/g/ge/gentrans/htdocs
 
285
DOC_URL = $(DOC_SERVER):$(DOC_BASE)
 
286
GST_VERSION_NANO = $(PACKAGE_VERSION_NANO)
 
287
 
 
288
# generated basefiles
 
289
#basefiles = \
 
290
#               $(DOC_MODULE)-sections.txt \
 
291
#               $(DOC_MODULE)-docs.sgml
 
292
 
 
293
# ugly hack to make -unused.sgml work
 
294
#unused-build.stamp:
 
295
#       BUILDDIR=`pwd` && \
 
296
#       cd $(srcdir)/tmpl && \
 
297
#       ln -sf gstreamer-libs-unused.sgml \
 
298
#               $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
 
299
#       touch unused-build.stamp
 
300
 
 
301
# these rules are added to create parallel docs using GST_MAJORMINOR
 
302
#$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
 
303
#       cp $< $@
 
304
 
 
305
#CLEANFILES = $(basefiles)
 
306
 
 
307
# The top-level SGML file. Change it if you want.
 
308
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
 
309
 
 
310
# The directory containing the source code. Relative to $(top_srcdir).
 
311
# gtk-doc will search all .c & .h files beneath here for inline comments
 
312
# documenting functions and macros.
 
313
DOC_SOURCE_DIR = $(top_srcdir)
 
314
 
 
315
# Extra options to supply to gtkdoc-scan.
 
316
SCAN_OPTIONS = 
 
317
 
 
318
# Extra options to supply to gtkdoc-mkdb.
 
319
MKDB_OPTIONS = --sgml-mode --source-suffixes=c,h,cc
 
320
 
 
321
# Extra options to supply to gtkdoc-fixref.
 
322
# FIXME get the location of the installed gstreamer docs
 
323
#FIXXREF_OPTIONS=--extra-dir=../gst/html
 
324
 
 
325
# Used for dependencies.
 
326
HFILE_GLOB = $(DOC_SOURCE_DIR)/*/*/*.h
 
327
CFILE_GLOB = $(DOC_SOURCE_DIR)/*/*/*.c ##$(DOC_SOURCE_DIR)/*/*.cc
 
328
 
 
329
# this is a wingo addition
 
330
# thomasvs: another nice wingo addition would be an explanation on why
 
331
# this is useful ;)
 
332
SCANOBJ_DEPS = 
 
333
 
 
334
# Header files to ignore when scanning.
 
335
IGNORE_HFILES = 
 
336
IGNORE_CFILES = 
 
337
 
 
338
# we add all .h files of elements that have signals/args we want
 
339
# sadly this also pulls in the private methods - maybe we should
 
340
# move those around in the source ?
 
341
# also, we should add some stuff here conditionally based on whether
 
342
# or not the plugin will actually build
 
343
# but I'm not sure about that - it might be this Just Works given that
 
344
# the registry won't have the element
 
345
EXTRA_HFILES = \
 
346
        $(top_srcdir)/gst/avidemux/gstsoften.c \
 
347
        $(top_srcdir)/gst/avidemux/gststabilize.c \
 
348
        $(top_srcdir)/gst/entrans/gstboxscale.c \
 
349
        $(top_srcdir)/gst/entrans/gstbufferjoin.c \
 
350
        $(top_srcdir)/gst/entrans/gstcapssetter.c \
 
351
        $(top_srcdir)/gst/entrans/gstdam.c \
 
352
        $(top_srcdir)/gst/entrans/gstfields.c \
 
353
        $(top_srcdir)/gst/entrans/gstshift.c \
 
354
        $(top_srcdir)/gst/entrans/gststamp.c \
 
355
        $(top_srcdir)/gst/mencoder/gstdelogo.c \
 
356
        $(top_srcdir)/gst/mencoder/gsthqdn3d.c \
 
357
        $(top_srcdir)/gst/mencoder/gstunsharp.c \
 
358
        $(top_srcdir)/gst/transcode/gstastat.c \
 
359
        $(top_srcdir)/gst/transcode/gstcshift.c \
 
360
        $(top_srcdir)/gst/transcode/gstcsub.c \
 
361
        $(top_srcdir)/gst/transcode/gstdecimate.c \
 
362
        $(top_srcdir)/gst/transcode/gstdetectinter.c \
 
363
        $(top_srcdir)/gst/transcode/gstdivxkey.c \
 
364
        $(top_srcdir)/gst/transcode/gstdnr.c \
 
365
        $(top_srcdir)/gst/transcode/gstivtc.c \
 
366
        $(top_srcdir)/gst/transcode/gstmask.c \
 
367
        $(top_srcdir)/gst/transcode/gstrbswap.c \
 
368
        $(top_srcdir)/gst/transcode/gstsmooth.c \
 
369
        $(top_srcdir)/gst/transcode/gstwhitebalance.c \
 
370
        $(top_srcdir)/gst/virtualdub/gstkerneldeint.c \
 
371
        $(top_srcdir)/gst/virtualdub/gstmsharpen.c \
 
372
        $(top_srcdir)/gst/virtualdub/gstxsharpen.c \
 
373
        $(top_srcdir)/gst/y4m/gstprocpipe.c \
 
374
        $(top_srcdir)/gst/y4m/gstmultiprocpipe.c \
 
375
        $(top_srcdir)/gst/y4m/gstmp2enc.c \
 
376
        $(top_srcdir)/gst/y4m/gsty4mtrans.c \
 
377
        $(top_srcdir)/gst/y4m/gsty4mparse.c \
 
378
        $(top_srcdir)/gst/y4m/gstproctrans.c \
 
379
        $(top_srcdir)/gst/y4m/gstproctrans.h \
 
380
        $(top_srcdir)/gst/y4m/gstmultiproctrans.c \
 
381
        $(top_srcdir)/gst/y4m/gstmultiproctrans.h \
 
382
        $(top_srcdir)/gst-libs/gst/video/video-utils.h
 
383
 
 
384
 
 
385
# example code that needs to be converted to xml and placed in xml/
 
386
# EXAMPLE_CFILES = \
 
387
#       $(top_srcdir)/tests/examples/level/level-example.c
 
388
 
 
389
# Images to copy into HTML directory.
 
390
HTML_IMAGES = 
 
391
 
 
392
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 
393
content_files = 
 
394
 
 
395
# Other files to distribute.
 
396
extra_files = 
 
397
 
 
398
# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
 
399
# contains GtkObjects/GObjects and you want to document signals and properties.
 
400
GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir)
 
401
GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_BASE_LIBS)
 
402
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC)
 
403
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC)
 
404
 
 
405
# If you need to override some of the declarations, place them in this file
 
406
# and uncomment this line.
 
407
#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
 
408
DOC_OVERRIDES = 
 
409
 
 
410
# We set GPATH here; this gives us semantics for GNU make
 
411
# which are more like other make's VPATH, when it comes to
 
412
# whether a source that is a target of one rule is then
 
413
# searched for in VPATH/GPATH.
 
414
#
 
415
GPATH = $(srcdir)
 
416
 
 
417
# thomas: make docs parallel installable
 
418
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@
 
419
EXTRA_DIST = \
 
420
        scanobj-build.stamp             \
 
421
        $(srcdir)/inspect/*.xml         \
 
422
        inspect.stamp                   \
 
423
        inspect-build.stamp             \
 
424
        $(SCANOBJ_FILES)                \
 
425
        $(content_files)                \
 
426
        $(extra_files)                  \
 
427
        $(HTML_IMAGES)                  \
 
428
        $(DOC_MAIN_SGML_FILE)           \
 
429
        $(DOC_MODULE).types             \
 
430
        $(DOC_OVERRIDES)                \
 
431
        $(DOC_MODULE)-sections.txt
 
432
 
 
433
MAINTAINER_DOC_STAMPS = \
 
434
        scanobj-build.stamp             \
 
435
        inspect-build.stamp             \
 
436
        inspect.stamp
 
437
 
 
438
 
 
439
# we don't add inspect-build.stamp and scanobj-build.stamp here since they are
 
440
# built manually by docs maintainers and result is commited to CVS
 
441
DOC_STAMPS = \
 
442
        scan-build.stamp                \
 
443
        tmpl-build.stamp                \
 
444
        sgml-build.stamp                \
 
445
        html-build.stamp                \
 
446
        scan.stamp                      \
 
447
        tmpl.stamp                      \
 
448
        sgml.stamp                      \
 
449
        html.stamp
 
450
 
 
451
 
 
452
# files generated/updated by gtkdoc-scangobj
 
453
SCANOBJ_FILES = \
 
454
        $(DOC_MODULE).signals           \
 
455
        $(DOC_MODULE).hierarchy         \
 
456
        $(DOC_MODULE).interfaces        \
 
457
        $(DOC_MODULE).prerequisites     \
 
458
        $(DOC_MODULE).types             \
 
459
        $(DOC_MODULE).args
 
460
 
 
461
SCANOBJ_FILES_O = \
 
462
        .libs/$(DOC_MODULE)-scan.o
 
463
 
 
464
 
 
465
# files generated/updated by gtkdoc-scan
 
466
SCAN_FILES = \
 
467
        $(DOC_MODULE)-sections.txt      \
 
468
        $(DOC_MODULE)-overrides.txt     \
 
469
        $(DOC_MODULE)-undocumented.txt  \
 
470
        $(DOC_MODULE)-undeclared.txt    \
 
471
        $(DOC_MODULE)-decl.txt          \
 
472
        $(DOC_MODULE)-decl-list.txt
 
473
 
 
474
 
 
475
### inspect GStreamer plug-ins; done by documentation maintainer ###
 
476
 
 
477
# only look at the plugins in this module when building inspect .xml stuff
 
478
@ENABLE_GTK_DOC_TRUE@INSPECT_REGISTRY = $(top_builddir)/docs/plugins/inspect-registry.xml
 
479
@ENABLE_GTK_DOC_TRUE@INSPECT_ENVIRONMENT = \
 
480
@ENABLE_GTK_DOC_TRUE@        GST_PLUGIN_SYSTEM_PATH= \
 
481
@ENABLE_GTK_DOC_TRUE@        GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins \
 
482
@ENABLE_GTK_DOC_TRUE@        GST_REGISTRY=$(INSPECT_REGISTRY)
 
483
 
 
484
 
 
485
# FC3 seems to need -scan.c to be part of CLEANFILES for distcheck
 
486
# no idea why FC4 can do without
 
487
CLEANFILES = \
 
488
        $(SCANOBJ_FILES_O) \
 
489
        $(DOC_MODULE)-scan.c \
 
490
        $(DOC_MODULE)-unused.txt \
 
491
        $(DOC_STAMPS) \
 
492
        inspect-registry.xml
 
493
 
 
494
MAINTAINERCLEANFILES = $(MAINTAINER_DOC_STAMPS)
 
495
 
 
496
# Before uploading, replace local gtk-doc references with on-line versions
 
497
GTKDOC_DIR = /opt/gnome/share/gtk-doc/html
 
498
ONLINE_REF = http://www.gstreamer.net/data/doc/gstreamer/head
 
499
all: all-am
 
500
 
 
501
.SUFFIXES:
 
502
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../upload.mak $(top_srcdir)/common/gtk-doc-plugins.mak $(am__configure_deps)
 
503
        @for dep in $?; do \
 
504
          case '$(am__configure_deps)' in \
 
505
            *$$dep*) \
 
506
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 
507
                && { if test -f $@; then exit 0; else break; fi; }; \
 
508
              exit 1;; \
 
509
          esac; \
 
510
        done; \
 
511
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/plugins/Makefile'; \
 
512
        cd $(top_srcdir) && \
 
513
          $(AUTOMAKE) --gnu  docs/plugins/Makefile
 
514
.PRECIOUS: Makefile
 
515
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
516
        @case '$?' in \
 
517
          *config.status*) \
 
518
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
519
          *) \
 
520
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
521
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
522
        esac;
 
523
 
 
524
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
525
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
526
 
 
527
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
528
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
529
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
530
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
531
 
 
532
mostlyclean-libtool:
 
533
        -rm -f *.lo
 
534
 
 
535
clean-libtool:
 
536
        -rm -rf .libs _libs
 
537
tags: TAGS
 
538
TAGS:
 
539
 
 
540
ctags: CTAGS
 
541
CTAGS:
 
542
 
 
543
 
 
544
distdir: $(DISTFILES)
 
545
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
546
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
547
        list='$(DISTFILES)'; \
 
548
          dist_files=`for file in $$list; do echo $$file; done | \
 
549
          sed -e "s|^$$srcdirstrip/||;t" \
 
550
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
551
        case $$dist_files in \
 
552
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
553
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
554
                           sort -u` ;; \
 
555
        esac; \
 
556
        for file in $$dist_files; do \
 
557
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
558
          if test -d $$d/$$file; then \
 
559
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
560
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
561
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
562
            fi; \
 
563
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
564
          else \
 
565
            test -f $(distdir)/$$file \
 
566
            || cp -p $$d/$$file $(distdir)/$$file \
 
567
            || exit 1; \
 
568
          fi; \
 
569
        done
 
570
        $(MAKE) $(AM_MAKEFLAGS) \
 
571
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
572
          dist-hook
 
573
check-am: all-am
 
574
check: check-am
 
575
all-am: Makefile all-local
 
576
installdirs:
 
577
install: install-am
 
578
install-exec: install-exec-am
 
579
install-data: install-data-am
 
580
uninstall: uninstall-am
 
581
 
 
582
install-am: all-am
 
583
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
584
 
 
585
installcheck: installcheck-am
 
586
install-strip:
 
587
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
588
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
589
          `test -z '$(STRIP)' || \
 
590
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
591
mostlyclean-generic:
 
592
 
 
593
clean-generic:
 
594
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
595
 
 
596
distclean-generic:
 
597
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
598
 
 
599
maintainer-clean-generic:
 
600
        @echo "This command is intended for maintainers to use"
 
601
        @echo "it deletes files that may require special tools to rebuild."
 
602
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 
603
clean: clean-am
 
604
 
 
605
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
606
 
 
607
distclean: distclean-am
 
608
        -rm -f Makefile
 
609
distclean-am: clean-am distclean-generic distclean-local
 
610
 
 
611
dvi: dvi-am
 
612
 
 
613
dvi-am:
 
614
 
 
615
info: info-am
 
616
 
 
617
info-am:
 
618
 
 
619
install-data-am: install-data-local
 
620
 
 
621
install-dvi: install-dvi-am
 
622
 
 
623
install-exec-am:
 
624
 
 
625
install-html: install-html-am
 
626
 
 
627
install-info: install-info-am
 
628
 
 
629
install-man:
 
630
 
 
631
install-pdf: install-pdf-am
 
632
 
 
633
install-ps: install-ps-am
 
634
 
 
635
installcheck-am:
 
636
 
 
637
maintainer-clean: maintainer-clean-am
 
638
        -rm -f Makefile
 
639
maintainer-clean-am: distclean-am maintainer-clean-generic
 
640
 
 
641
mostlyclean: mostlyclean-am
 
642
 
 
643
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
644
 
 
645
pdf: pdf-am
 
646
 
 
647
pdf-am:
 
648
 
 
649
ps: ps-am
 
650
 
 
651
ps-am:
 
652
 
 
653
uninstall-am: uninstall-local
 
654
 
 
655
.MAKE: install-am install-strip
 
656
 
 
657
.PHONY: all all-am all-local check check-am clean clean-generic \
 
658
        clean-libtool clean-local dist-hook distclean \
 
659
        distclean-generic distclean-libtool distclean-local distdir \
 
660
        dvi dvi-am html html-am info info-am install install-am \
 
661
        install-data install-data-am install-data-local install-dvi \
 
662
        install-dvi-am install-exec install-exec-am install-html \
 
663
        install-html-am install-info install-info-am install-man \
 
664
        install-pdf install-pdf-am install-ps install-ps-am \
 
665
        install-strip installcheck installcheck-am installdirs \
 
666
        maintainer-clean maintainer-clean-generic mostlyclean \
 
667
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 
668
        uninstall uninstall-am uninstall-local
 
669
 
 
670
html: html-build.stamp
 
671
 
 
672
upload-local:
 
673
 
 
674
upload: $(FORMATS) upload-local
 
675
        @if test "x$(GST_VERSION_NANO)" = x0; then \
 
676
            export DOCVERSION=$(VERSION); \
 
677
        else export DOCVERSION=head; \
 
678
        fi; \
 
679
        export DIR=$(DOC_BASE)/docs/$$DOCVERSION/$(DOC); \
 
680
        echo -e "-mkdir $(DOC_BASE)/docs/$$DOCVERSION \n -mkdir $$DIR" | sftp -b - $(DOC_SERVER) ; \
 
681
        if echo $(FORMATS) | grep html > /dev/null; then export SRC="$$SRC html"; fi; \
 
682
        if echo $(FORMATS) | grep ps > /dev/null; then export SRC="$$SRC $(DOC).ps"; fi; \
 
683
        if echo $(FORMATS) | grep pdf > /dev/null; then export SRC="$$SRC $(DOC).pdf"; fi; \
 
684
        echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
 
685
        rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
 
686
        echo Done
 
687
 
 
688
# track some dependency
 
689
@ENABLE_GTK_DOC_TRUE@html-build.stamp: $(wildcard ../*.entities)
 
690
 
 
691
help:
 
692
        @echo "If you are a doc maintainer, run 'make update' to update"
 
693
        @echo "the documentation files maintained in CVS"
 
694
 
 
695
# update the stuff maintained by doc maintainers
 
696
update:
 
697
        make inspect-update
 
698
        make scanobj-update
 
699
 
 
700
@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
 
701
 
 
702
#### scan gobjects; done by documentation maintainer ####
 
703
@ENABLE_GTK_DOC_TRUE@scanobj-update:
 
704
@ENABLE_GTK_DOC_TRUE@   -rm scanobj-build.stamp
 
705
@ENABLE_GTK_DOC_TRUE@   make scanobj-build.stamp
 
706
 
 
707
# in the case of non-srcdir builds, the built gst directory gets added
 
708
# to gtk-doc scanning; but only then, to avoid duplicates
 
709
# FIXME: since we don't have the scan step as part of the build anymore,
 
710
# we could remove that
 
711
# TODO: finish elite script that updates the output files of this step
 
712
# instead of rewriting them, so that multiple maintainers can generate
 
713
# a collective set of args and signals
 
714
@ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
 
715
@ENABLE_GTK_DOC_TRUE@   @echo '*** Scanning GObjects ***'
 
716
@ENABLE_GTK_DOC_TRUE@   if test x"$(srcdir)" != x. ; then                               \
 
717
@ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES);                                  \
 
718
@ENABLE_GTK_DOC_TRUE@       do                                                          \
 
719
@ENABLE_GTK_DOC_TRUE@           cp $(srcdir)/$$f . ;                                    \
 
720
@ENABLE_GTK_DOC_TRUE@       done;                                                       \
 
721
@ENABLE_GTK_DOC_TRUE@   else                                                            \
 
722
@ENABLE_GTK_DOC_TRUE@       $(INSPECT_ENVIRONMENT)                                      \
 
723
@ENABLE_GTK_DOC_TRUE@       CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)"                         \
 
724
@ENABLE_GTK_DOC_TRUE@       CFLAGS="-g $(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)"               \
 
725
@ENABLE_GTK_DOC_TRUE@       $(GST_DOC_SCANOBJ) --type-init-func="gst_init(NULL,NULL)"   \
 
726
@ENABLE_GTK_DOC_TRUE@           --module=$(DOC_MODULE) --source=$(PACKAGE) &&           \
 
727
@ENABLE_GTK_DOC_TRUE@           $(PYTHON)                                               \
 
728
@ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE);   \
 
729
@ENABLE_GTK_DOC_TRUE@   fi
 
730
@ENABLE_GTK_DOC_TRUE@   touch scanobj-build.stamp
 
731
 
 
732
@ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
 
733
@ENABLE_GTK_DOC_TRUE@   @true
 
734
 
 
735
# update the element and plugin XML descriptions; store in inspect/
 
736
@ENABLE_GTK_DOC_TRUE@inspect:
 
737
@ENABLE_GTK_DOC_TRUE@   mkdir inspect
 
738
 
 
739
@ENABLE_GTK_DOC_TRUE@inspect-update: inspect
 
740
@ENABLE_GTK_DOC_TRUE@   -rm $(INSPECT_REGISTRY)
 
741
@ENABLE_GTK_DOC_TRUE@   -rm inspect-build.stamp
 
742
@ENABLE_GTK_DOC_TRUE@   make inspect-build.stamp
 
743
 
 
744
# FIXME: inspect.stamp should be written to by gst-xmlinspect.py
 
745
# IFF the output changed; see gtkdoc-mktmpl
 
746
@ENABLE_GTK_DOC_TRUE@inspect-build.stamp:
 
747
@ENABLE_GTK_DOC_TRUE@   @echo '*** Rebuilding plugin inspection files ***'
 
748
@ENABLE_GTK_DOC_TRUE@   if test x"$(srcdir)" != x. ; then \
 
749
@ENABLE_GTK_DOC_TRUE@       cp $(srcdir)/inspect.stamp . ; \
 
750
@ENABLE_GTK_DOC_TRUE@       cp $(srcdir)/inspect-build.stamp . ; \
 
751
@ENABLE_GTK_DOC_TRUE@   else \
 
752
@ENABLE_GTK_DOC_TRUE@       $(INSPECT_ENVIRONMENT) $(PYTHON) \
 
753
@ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/gst-xmlinspect.py $(PACKAGE) inspect && \
 
754
@ENABLE_GTK_DOC_TRUE@       echo -n "timestamp" > inspect.stamp && \
 
755
@ENABLE_GTK_DOC_TRUE@       touch inspect-build.stamp; \
 
756
@ENABLE_GTK_DOC_TRUE@        fi
 
757
 
 
758
### scan headers; done on every build ###
 
759
@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp inspect-build.stamp
 
760
@ENABLE_GTK_DOC_TRUE@   if test "x$(top_srcdir)" != "x$(top_builddir)" &&               \
 
761
@ENABLE_GTK_DOC_TRUE@      test -d "$(top_builddir)/gst";                               \
 
762
@ENABLE_GTK_DOC_TRUE@        then                                                               \
 
763
@ENABLE_GTK_DOC_TRUE@            export BUILT_OPTIONS="--source-dir=$(top_builddir)/gst";       \
 
764
@ENABLE_GTK_DOC_TRUE@        fi;                                                                \
 
765
@ENABLE_GTK_DOC_TRUE@   gtkdoc-scan                                                     \
 
766
@ENABLE_GTK_DOC_TRUE@       $(SCAN_OPTIONS) $(EXTRA_HFILES)                             \
 
767
@ENABLE_GTK_DOC_TRUE@       --module=$(DOC_MODULE)                                      \
 
768
@ENABLE_GTK_DOC_TRUE@       $$BUILT_OPTIONS                                             \
 
769
@ENABLE_GTK_DOC_TRUE@       --ignore-headers="$(IGNORE_HFILES)";                        \
 
770
@ENABLE_GTK_DOC_TRUE@   touch scan-build.stamp
 
771
 
 
772
#### update templates; done on every build ####
 
773
 
 
774
### FIXME: make this error out again when docs are fixed for 0.9
 
775
# in a non-srcdir build, we need to copy files from the previous step
 
776
# and the files from previous runs of this step
 
777
@ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
 
778
@ENABLE_GTK_DOC_TRUE@   @echo '*** Rebuilding template files ***'
 
779
@ENABLE_GTK_DOC_TRUE@   if test x"$(srcdir)" != x. ; then                               \
 
780
@ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES) $(SCAN_FILES);                    \
 
781
@ENABLE_GTK_DOC_TRUE@       do                                                          \
 
782
@ENABLE_GTK_DOC_TRUE@           if test -e $(srcdir)/$$f; then cp $(srcdir)/$$f . ; fi; \
 
783
@ENABLE_GTK_DOC_TRUE@       done;                                                       \
 
784
@ENABLE_GTK_DOC_TRUE@   fi
 
785
@ENABLE_GTK_DOC_TRUE@   gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
 
786
@ENABLE_GTK_DOC_TRUE@   $(PYTHON) \
 
787
@ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/mangle-tmpl.py $(srcdir)/inspect tmpl
 
788
@ENABLE_GTK_DOC_TRUE@   @cat $(DOC_MODULE)-unused.txt
 
789
@ENABLE_GTK_DOC_TRUE@   rm -f tmpl-build.log
 
790
@ENABLE_GTK_DOC_TRUE@   touch tmpl-build.stamp
 
791
 
 
792
@ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
 
793
@ENABLE_GTK_DOC_TRUE@   @true
 
794
 
 
795
#### build xml; done on every build ####
 
796
 
 
797
### FIXME: make this error out again when docs are fixed for 0.9
 
798
@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp inspect.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl
 
799
@ENABLE_GTK_DOC_TRUE@   @echo '*** Building XML ***'
 
800
@ENABLE_GTK_DOC_TRUE@   @-mkdir -p xml
 
801
@ENABLE_GTK_DOC_TRUE@   @for a in $(srcdir)/inspect/*.xml; do \
 
802
@ENABLE_GTK_DOC_TRUE@            xsltproc --stringparam module $(MODULE) \
 
803
@ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done
 
804
@ENABLE_GTK_DOC_TRUE@   @for f in $(EXAMPLE_CFILES); do \
 
805
@ENABLE_GTK_DOC_TRUE@           $(PYTHON) $(top_srcdir)/common/c-to-xml.py $$f > xml/element-`basename $$f .c`.xml; done
 
806
@ENABLE_GTK_DOC_TRUE@   gtkdoc-mkdb \
 
807
@ENABLE_GTK_DOC_TRUE@           --module=$(DOC_MODULE) \
 
808
@ENABLE_GTK_DOC_TRUE@           --source-dir=$(DOC_SOURCE_DIR) \
 
809
@ENABLE_GTK_DOC_TRUE@           --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \
 
810
@ENABLE_GTK_DOC_TRUE@           --output-format=xml \
 
811
@ENABLE_GTK_DOC_TRUE@           --ignore-files="$(IGNORE_HFILES) $(IGNORE_CFILES)" \
 
812
@ENABLE_GTK_DOC_TRUE@           $(MKDB_OPTIONS) \
 
813
@ENABLE_GTK_DOC_TRUE@           | tee sgml-build.log
 
814
@ENABLE_GTK_DOC_TRUE@   @if grep "WARNING:" sgml-build.log > /dev/null; then true; fi # exit 1; fi
 
815
@ENABLE_GTK_DOC_TRUE@   cp $(srcdir)/../*.entities ../*.entities xml
 
816
@ENABLE_GTK_DOC_TRUE@   rm sgml-build.log
 
817
@ENABLE_GTK_DOC_TRUE@   touch sgml-build.stamp
 
818
 
 
819
@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
 
820
@ENABLE_GTK_DOC_TRUE@   @true
 
821
 
 
822
#### build html; done on every step ####
 
823
 
 
824
@ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
 
825
@ENABLE_GTK_DOC_TRUE@   @echo '*** Building HTML ***'
 
826
@ENABLE_GTK_DOC_TRUE@   if test -d html; then rm -rf html; fi
 
827
@ENABLE_GTK_DOC_TRUE@   mkdir html
 
828
@ENABLE_GTK_DOC_TRUE@   cp $(srcdir)/$(DOC_MAIN_SGML_FILE) html
 
829
@ENABLE_GTK_DOC_TRUE@   @for f in $(content_files); do cp $(srcdir)/$$f html; done
 
830
@ENABLE_GTK_DOC_TRUE@   cp -pr xml html
 
831
@ENABLE_GTK_DOC_TRUE@   cp $(srcdir)/../*.entities ../*.entities html
 
832
@ENABLE_GTK_DOC_TRUE@   cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
 
833
@ENABLE_GTK_DOC_TRUE@   rm -f html/$(DOC_MAIN_SGML_FILE)
 
834
@ENABLE_GTK_DOC_TRUE@   rm -rf html/xml
 
835
@ENABLE_GTK_DOC_TRUE@   rm -f html/*.entities
 
836
@ENABLE_GTK_DOC_TRUE@   test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
 
837
@ENABLE_GTK_DOC_TRUE@       if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
 
838
@ENABLE_GTK_DOC_TRUE@   @echo '-- Fixing Crossreferences' 
 
839
@ENABLE_GTK_DOC_TRUE@   gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
 
840
@ENABLE_GTK_DOC_TRUE@   touch html-build.stamp
 
841
@ENABLE_GTK_DOC_FALSE@all-local:
 
842
 
 
843
# FIXME: these rules need a little cleaning up
 
844
clean-local:
 
845
        rm -f *~ *.bak
 
846
        rm -rf .libs
 
847
# clean files generated for tmpl build
 
848
        -rm -rf tmpl
 
849
# clean files copied/generated for nonsrcdir tmpl build
 
850
        if test x"$(srcdir)" != x. ; then \
 
851
            rm -rf $(SCANOBJ_FILES) $(SCAN_FILES);                      \
 
852
        fi
 
853
# clean files generated for xml build
 
854
        -rm -rf xml
 
855
# clean files generate for html build
 
856
        -rm -rf html
 
857
 
 
858
distclean-local: clean
 
859
        rm -rf tmpl/*.sgml.bak
 
860
        rm -rf *.o
 
861
 
 
862
# thomas: make docs parallel installable; devhelp requires majorminor too
 
863
install-data-local:
 
864
        $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) 
 
865
        (installfiles=`echo ./html/*.html`; \
 
866
        if test "$$installfiles" = './html/*.html'; \
 
867
        then echo '-- Nothing to install' ; \
 
868
        else \
 
869
          for i in $$installfiles; do \
 
870
            echo '-- Installing '$$i ; \
 
871
            $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
 
872
          done; \
 
873
          pngfiles=`echo ./html/*.png`; \
 
874
          if test "$$pngfiles" != './html/*.png'; then \
 
875
            for i in $$pngfiles; do \
 
876
              echo '-- Installing '$$i ; \
 
877
              $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
 
878
            done; \
 
879
          fi; \
 
880
          echo '-- Installing $(srcdir)/html/$(DOC_MODULE).devhelp' ; \
 
881
          $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \
 
882
            $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
 
883
          echo '-- Installing $(srcdir)/html/index.sgml' ; \
 
884
          $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
 
885
                if test -e $(srcdir)/html/style.css; then \
 
886
                        echo '-- Installing $(srcdir)/html/style.css' ; \
 
887
                        $(INSTALL_DATA) $(srcdir)/html/style.css $(DESTDIR)$(TARGET_DIR); \
 
888
                fi; \
 
889
        fi) 
 
890
uninstall-local:
 
891
        (installfiles=`echo ./html/*.html`; \
 
892
        if test "$$installfiles" = './html/*.html'; \
 
893
        then echo '-- Nothing to uninstall' ; \
 
894
        else \
 
895
          for i in $$installfiles; do \
 
896
            rmfile=`basename $$i` ; \
 
897
            echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
 
898
            rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
 
899
          done; \
 
900
          pngfiles=`echo ./html/*.png`; \
 
901
          if test "$$pngfiles" != './html/*.png'; then \
 
902
            for i in $$pngfiles; do \
 
903
              rmfile=`basename $$i` ; \
 
904
              echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
 
905
              rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
 
906
            done; \
 
907
          fi; \
 
908
          echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \
 
909
          rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
 
910
          echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \
 
911
          rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \
 
912
                if test -e $(DESTDIR)$(TARGET_DIR)/style.css; then \
 
913
                        echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/style.css' ; \
 
914
                        rm -f $(DESTDIR)$(TARGET_DIR)/style.css; \
 
915
                fi; \
 
916
        fi) 
 
917
        if test -d $(DESTDIR)$(TARGET_DIR); then rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR) 2>/dev/null; fi; true
 
918
 
 
919
#
 
920
# Require gtk-doc when making dist
 
921
#
 
922
@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
 
923
@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
 
924
@ENABLE_GTK_DOC_FALSE@  @echo "*** gtk-doc must be installed and enabled in order to make dist"
 
925
@ENABLE_GTK_DOC_FALSE@  @false
 
926
 
 
927
# FIXME: decide whether we want to dist generated html or not
 
928
dist-hook: dist-check-gtkdoc dist-hook-local
 
929
        mkdir $(distdir)/tmpl
 
930
        mkdir $(distdir)/xml
 
931
        mkdir $(distdir)/html
 
932
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
 
933
        -cp $(srcdir)/sgml/*.xml $(distdir)/xml
 
934
        -cp $(srcdir)/html/index.sgml $(distdir)/html
 
935
        -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
 
936
        -cp $(srcdir)/html/$(DOC_MODULE).devhelp $(distdir)/html
 
937
 
 
938
        images=$(HTML_IMAGES) ;               \
 
939
        for i in "" $$images ; do                     \
 
940
          if test "$$i" != ""; then cp $(srcdir)/$$i $(distdir)/html ; fi; \
 
941
        done
 
942
 
 
943
.PHONY : dist-hook-local
 
944
upload-local:
 
945
        sed -i "s#$(GTKDOC_DIR)/\([^/]*\)/#$(ONLINE_REF)/\1/html/#" html/*
 
946
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
947
# Otherwise a system limit (for SysV at least) may be exceeded.
 
948
.NOEXPORT: