~bwy/+junk/gnash-temp

« back to all changes in this revision

Viewing changes to doc/C/Makefile.in

  • Committer: rsavoye
  • Date: 2005-12-20 20:52:15 UTC
  • Revision ID: cvs-1:rsavoye-20051220205215-2yzssoiy3cxwh18d
Add the initial version of the documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.9.2 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004  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
 
18
#   Copyright (C) 2005 Free Software Foundation, Inc.
 
19
#
 
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.
 
24
#
 
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.
 
29
#
 
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
 
32
#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
33
#
 
34
 
 
35
#
 
36
# No modifications of this Makefile should be necessary.
 
37
#
 
38
# To use this template:
 
39
#     1) Define: figdir, docname, lang, omffile, and entities in
 
40
#        your Makefile.am file for each document directory,
 
41
#        although figdir, omffile, and entities may be empty
 
42
#     2) Make sure the Makefile in (1) also includes 
 
43
#        "include $(top_srcdir)/doc/xmldocs.make and
 
44
#        "dist-hook: app-dist-hook".
 
45
#     3) Optionally define 'entities' to hold xml entities which
 
46
#        you would also like installed
 
47
#     4) Figures must go under $(figdir)/ and be in PNG format
 
48
#     5) You should only have one document per directory 
 
49
#     6) Note that the figure directory, $(figdir)/, should not have its
 
50
#        own Ma fdl-appendix.xmlkefile since this Makefile installs those figures.
 
51
#
 
52
# example Makefile.am:
 
53
#   figdir = figures
 
54
#   docname = scrollkeeper-manual
 
55
#   lang = C
 
56
#   omffile=scrollkeeper-manual-C.omf
 
57
#   entities = fdl.xml
 
58
#   include $(top_srcdir)/help/xmldocs.make
 
59
#   dist-hook: app-dist-hook
 
60
#
 
61
# About this file:
 
62
#       This file was taken from scrollkeeper_example2, a package illustrating
 
63
#       how to install documentation and OMF files for use with ScrollKeeper 
 
64
#       0.3.x and 0.4.x.  For more information, see:
 
65
#               http://scrollkeeper.sourceforge.net/
 
66
#       Version: 0.1.2 (last updated: March 20, 2002)
 
67
#
 
68
 
 
69
 
70
# No modifications of this Makefile should be necessary.
 
71
#
 
72
# This file contains the build instructions for installing OMF files.  It is
 
73
# generally called from the makefiles for particular formats of documentation.
 
74
#
 
75
# Note that you must configure your package with --localstatedir=/var/lib
 
76
# so that the scrollkeeper-update command below will update the database
 
77
# in the standard scrollkeeper directory.
 
78
#
 
79
# If it is impossible to configure with --localstatedir=/var/lib, then
 
80
# modify the definition of scrollkeeper_localstate_dir so that
 
81
# it points to the correct location. Note that you must still use 
 
82
# $(localstatedir) in this or when people build RPMs it will update
 
83
# the real database on their system instead of the one under RPM_BUILD_ROOT.
 
84
#
 
85
# Note: This make file is not incorporated into xmldocs.make because, in
 
86
#       general, there will be other documents install besides XML documents
 
87
#       and the makefiles for these formats should also include this file.
 
88
#
 
89
# About this file:
 
90
#       This file was taken from scrollkeeper_example2, a package illustrating
 
91
#       how to install documentation and OMF files for use with ScrollKeeper
 
92
#       0.3.x and 0.4.x.  For more information, see:
 
93
#               http://scrollkeeper.sourceforge.net/    
 
94
#       Version: 0.1.2 (last updated: March 20, 2002)
 
95
#
 
96
srcdir = @srcdir@
 
97
top_srcdir = @top_srcdir@
 
98
VPATH = @srcdir@
 
99
pkgdatadir = $(datadir)/@PACKAGE@
 
100
pkglibdir = $(libdir)/@PACKAGE@
 
101
pkgincludedir = $(includedir)/@PACKAGE@
 
102
top_builddir = ../..
 
103
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
104
INSTALL = @INSTALL@
 
105
install_sh_DATA = $(install_sh) -c -m 644
 
106
install_sh_PROGRAM = $(install_sh) -c
 
107
install_sh_SCRIPT = $(install_sh) -c
 
108
INSTALL_HEADER = $(INSTALL_DATA)
 
109
transform = $(program_transform_name)
 
110
NORMAL_INSTALL = :
 
111
PRE_INSTALL = :
 
112
POST_INSTALL = :
 
113
NORMAL_UNINSTALL = :
 
114
PRE_UNINSTALL = :
 
115
POST_UNINSTALL = :
 
116
build_triplet = @build@
 
117
host_triplet = @host@
 
118
target_triplet = @target@
 
119
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
120
        $(top_srcdir)/doc/omf.make $(top_srcdir)/doc/xmldocs.make \
 
121
        COPYING
 
122
subdir = doc/C
 
123
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
124
am__aclocal_m4_deps = $(top_srcdir)/macros/docbook.m4 \
 
125
        $(top_srcdir)/macros/firefox.m4 $(top_srcdir)/macros/jpeg.m4 \
 
126
        $(top_srcdir)/macros/libXML.m4 $(top_srcdir)/macros/libexe.m4 \
 
127
        $(top_srcdir)/macros/opengl.m4 $(top_srcdir)/macros/png.m4 \
 
128
        $(top_srcdir)/macros/sdl.m4 $(top_srcdir)/macros/zlib.m4 \
 
129
        $(top_srcdir)/configure.ac
 
130
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
131
        $(ACLOCAL_M4)
 
132
mkinstalldirs = $(install_sh) -d
 
133
CONFIG_HEADER = $(top_builddir)/config.h
 
134
CONFIG_CLEAN_FILES =
 
135
SOURCES =
 
136
DIST_SOURCES =
 
137
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
138
ACLOCAL = @ACLOCAL@
 
139
AMDEP_FALSE = @AMDEP_FALSE@
 
140
AMDEP_TRUE = @AMDEP_TRUE@
 
141
AMTAR = @AMTAR@
 
142
AR = @AR@
 
143
AUTOCONF = @AUTOCONF@
 
144
AUTOHEADER = @AUTOHEADER@
 
145
AUTOMAKE = @AUTOMAKE@
 
146
AWK = @AWK@
 
147
CC = @CC@
 
148
CCDEPMODE = @CCDEPMODE@
 
149
CFLAGS = @CFLAGS@
 
150
CPP = @CPP@
 
151
CPPFLAGS = @CPPFLAGS@
 
152
CXX = @CXX@
 
153
CXXCPP = @CXXCPP@
 
154
CXXDEPMODE = @CXXDEPMODE@
 
155
CXXFLAGS = @CXXFLAGS@
 
156
CYGPATH_W = @CYGPATH_W@
 
157
DEFS = @DEFS@
 
158
DEPDIR = @DEPDIR@
 
159
DMALLOC_LIB = @DMALLOC_LIB@
 
160
ECHO = @ECHO@
 
161
ECHO_C = @ECHO_C@
 
162
ECHO_N = @ECHO_N@
 
163
ECHO_T = @ECHO_T@
 
164
EGREP = @EGREP@
 
165
EXEEXT = @EXEEXT@
 
166
F77 = @F77@
 
167
FFLAGS = @FFLAGS@
 
168
FIREFOX_CFLAGS = @FIREFOX_CFLAGS@
 
169
FIREFOX_DEFS = @FIREFOX_DEFS@
 
170
FIREFOX_LIBS = @FIREFOX_LIBS@
 
171
FIREFOX_PLUGINS = @FIREFOX_PLUGINS@
 
172
GLUT_LIBS = @GLUT_LIBS@
 
173
GLU_LIBS = @GLU_LIBS@
 
174
HAVE_OPENGL_FALSE = @HAVE_OPENGL_FALSE@
 
175
HAVE_OPENGL_TRUE = @HAVE_OPENGL_TRUE@
 
176
HTTP_FALSE = @HTTP_FALSE@
 
177
HTTP_TRUE = @HTTP_TRUE@
 
178
INSTALL_DATA = @INSTALL_DATA@
 
179
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
180
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
181
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
182
JPEG_CFLAGS = @JPEG_CFLAGS@
 
183
JPEG_LIBS = @JPEG_LIBS@
 
184
LDFLAGS = @LDFLAGS@
 
185
LIBEXT = @LIBEXT@
 
186
LIBOBJS = @LIBOBJS@
 
187
LIBPRE = @LIBPRE@
 
188
LIBS = @LIBS@
 
189
LIBTOOL = @LIBTOOL@
 
190
LIBXML_CFLAGS = @LIBXML_CFLAGS@
 
191
LIBXML_LIBS = @LIBXML_LIBS@
 
192
LN_S = @LN_S@
 
193
LTLIBOBJS = @LTLIBOBJS@
 
194
MAINT = @MAINT@
 
195
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
 
196
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 
197
MAKEINFO = @MAKEINFO@
 
198
OBJEXT = @OBJEXT@
 
199
OPENGL_CFLAGS = @OPENGL_CFLAGS@
 
200
OPENGL_LIBS = @OPENGL_LIBS@
 
201
PACKAGE = @PACKAGE@
 
202
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
203
PACKAGE_NAME = @PACKAGE_NAME@
 
204
PACKAGE_STRING = @PACKAGE_STRING@
 
205
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
206
PACKAGE_VERSION = @PACKAGE_VERSION@
 
207
PATH_SEPARATOR = @PATH_SEPARATOR@
 
208
PLUGIN_FALSE = @PLUGIN_FALSE@
 
209
PLUGIN_TRUE = @PLUGIN_TRUE@
 
210
PNG_CFLAGS = @PNG_CFLAGS@
 
211
PNG_LIBS = @PNG_LIBS@
 
212
PTHREAD_LIB = @PTHREAD_LIB@
 
213
RANLIB = @RANLIB@
 
214
SDL_CFLAGS = @SDL_CFLAGS@
 
215
SDL_CONFIG = @SDL_CONFIG@
 
216
SDL_LIBS = @SDL_LIBS@
 
217
SDL_MIXER_CFLAGS = @SDL_MIXER_CFLAGS@
 
218
SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
 
219
SET_MAKE = @SET_MAKE@
 
220
SHELL = @SHELL@
 
221
STRIP = @STRIP@
 
222
VERSION = @VERSION@
 
223
X_CFLAGS = @X_CFLAGS@
 
224
X_EXTRA_LIBS = @X_EXTRA_LIBS@
 
225
X_LIBS = @X_LIBS@
 
226
X_PRE_LIBS = @X_PRE_LIBS@
 
227
ZLIB_CFLAGS = @ZLIB_CFLAGS@
 
228
ZLIB_LIBS = @ZLIB_LIBS@
 
229
ac_ct_AR = @ac_ct_AR@
 
230
ac_ct_CC = @ac_ct_CC@
 
231
ac_ct_CXX = @ac_ct_CXX@
 
232
ac_ct_F77 = @ac_ct_F77@
 
233
ac_ct_RANLIB = @ac_ct_RANLIB@
 
234
ac_ct_STRIP = @ac_ct_STRIP@
 
235
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
236
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
 
237
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
 
238
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 
239
am__include = @am__include@
 
240
am__leading_dot = @am__leading_dot@
 
241
am__quote = @am__quote@
 
242
am__tar = @am__tar@
 
243
am__untar = @am__untar@
 
244
bindir = @bindir@
 
245
build = @build@
 
246
build_alias = @build_alias@
 
247
build_cpu = @build_cpu@
 
248
build_os = @build_os@
 
249
build_vendor = @build_vendor@
 
250
datadir = @datadir@
 
251
docbook_styles = @docbook_styles@
 
252
exec_prefix = @exec_prefix@
 
253
host = @host@
 
254
host_alias = @host_alias@
 
255
host_cpu = @host_cpu@
 
256
host_os = @host_os@
 
257
host_vendor = @host_vendor@
 
258
includedir = @includedir@
 
259
infodir = @infodir@
 
260
install_sh = @install_sh@
 
261
libdir = @libdir@
 
262
libexecdir = @libexecdir@
 
263
localstatedir = @localstatedir@
 
264
mandir = @mandir@
 
265
mkdir_p = @mkdir_p@
 
266
oldincludedir = @oldincludedir@
 
267
prefix = @prefix@
 
268
program_transform_name = @program_transform_name@
 
269
sbindir = @sbindir@
 
270
sharedstatedir = @sharedstatedir@
 
271
sysconfdir = @sysconfdir@
 
272
target = @target@
 
273
target_alias = @target_alias@
 
274
target_cpu = @target_cpu@
 
275
target_os = @target_os@
 
276
target_vendor = @target_vendor@
 
277
 
 
278
# ************* Begin of section some packagers may need to modify  **************
 
279
# This variable (docdir) specifies where the documents should be installed.
 
280
# This default value should work for most packages.
 
281
docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang)
 
282
 
 
283
# **************  You should not have to edit below this line  *******************
 
284
xml_files = $(entities) $(docname).xml
 
285
omf_dir = $(top_srcdir)/omf-install
 
286
EXTRA_DIST = $(xml_files) $(omffile) gnash.html gnash.pdf gnash.1
 
287
CLEANFILES = omf_timestamp gnash.pdf gnash.rtf gnash.html \
 
288
        gnash.omf.out manpage.links manpage.refs gnash.tex gnash.log \
 
289
        gnash.info gnash.texi gnash.txml gnash.1 gnash.mxml \
 
290
        omf_timestamp
 
291
omf_dest_dir = $(datadir)/omf/@PACKAGE@
 
292
scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
 
293
STYLESDIR = @docbook_styles@
 
294
figdir = images
 
295
docname = gnash
 
296
lang = C
 
297
omffile = gnash.omf
 
298
entities = legal.xml
 
299
SUFFIXES = .xml .html .texi .1
 
300
all: all-am
 
301
 
 
302
.SUFFIXES:
 
303
.SUFFIXES: .xml .html .texi .1 .info .pdf
 
304
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/doc/xmldocs.make $(top_srcdir)/doc/omf.make $(am__configure_deps)
 
305
        @for dep in $?; do \
 
306
          case '$(am__configure_deps)' in \
 
307
            *$$dep*) \
 
308
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
309
                && exit 0; \
 
310
              exit 1;; \
 
311
          esac; \
 
312
        done; \
 
313
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  doc/C/Makefile'; \
 
314
        cd $(top_srcdir) && \
 
315
          $(AUTOMAKE) --gnu  doc/C/Makefile
 
316
.PRECIOUS: Makefile
 
317
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
318
        @case '$?' in \
 
319
          *config.status*) \
 
320
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
321
          *) \
 
322
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
323
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
324
        esac;
 
325
 
 
326
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
327
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
328
 
 
329
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
330
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
331
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
332
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
333
 
 
334
mostlyclean-libtool:
 
335
        -rm -f *.lo
 
336
 
 
337
clean-libtool:
 
338
        -rm -rf .libs _libs
 
339
 
 
340
distclean-libtool:
 
341
        -rm -f libtool
 
342
uninstall-info-am:
 
343
tags: TAGS
 
344
TAGS:
 
345
 
 
346
ctags: CTAGS
 
347
CTAGS:
 
348
 
 
349
 
 
350
distdir: $(DISTFILES)
 
351
        $(mkdir_p) $(distdir)/../../doc
 
352
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
353
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
354
        list='$(DISTFILES)'; for file in $$list; do \
 
355
          case $$file in \
 
356
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
357
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
358
          esac; \
 
359
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
360
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
361
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
362
            dir="/$$dir"; \
 
363
            $(mkdir_p) "$(distdir)$$dir"; \
 
364
          else \
 
365
            dir=''; \
 
366
          fi; \
 
367
          if test -d $$d/$$file; then \
 
368
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
369
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
370
            fi; \
 
371
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
372
          else \
 
373
            test -f $(distdir)/$$file \
 
374
            || cp -p $$d/$$file $(distdir)/$$file \
 
375
            || exit 1; \
 
376
          fi; \
 
377
        done
 
378
        $(MAKE) $(AM_MAKEFLAGS) \
 
379
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
 
380
          dist-hook
 
381
check-am: all-am
 
382
check: check-am
 
383
all-am: Makefile
 
384
installdirs:
 
385
install: install-am
 
386
install-exec: install-exec-am
 
387
install-data: install-data-am
 
388
uninstall: uninstall-am
 
389
 
 
390
install-am: all-am
 
391
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
392
 
 
393
installcheck: installcheck-am
 
394
install-strip:
 
395
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
396
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
397
          `test -z '$(STRIP)' || \
 
398
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
399
mostlyclean-generic:
 
400
 
 
401
clean-generic:
 
402
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
403
 
 
404
distclean-generic:
 
405
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
406
 
 
407
maintainer-clean-generic:
 
408
        @echo "This command is intended for maintainers to use"
 
409
        @echo "it deletes files that may require special tools to rebuild."
 
410
clean: clean-am
 
411
 
 
412
clean-am: clean-generic clean-libtool mostlyclean-am
 
413
 
 
414
distclean: distclean-am
 
415
        -rm -f Makefile
 
416
distclean-am: clean-am distclean-generic distclean-libtool
 
417
 
 
418
dvi: dvi-am
 
419
 
 
420
dvi-am:
 
421
 
 
422
info-am:
 
423
 
 
424
install-data-am: install-data-local
 
425
        @$(NORMAL_INSTALL)
 
426
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 
427
 
 
428
install-exec-am:
 
429
 
 
430
install-info: install-info-am
 
431
 
 
432
install-man:
 
433
 
 
434
installcheck-am:
 
435
 
 
436
maintainer-clean: maintainer-clean-am
 
437
        -rm -f Makefile
 
438
maintainer-clean-am: distclean-am maintainer-clean-generic
 
439
 
 
440
mostlyclean: mostlyclean-am
 
441
 
 
442
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
443
 
 
444
pdf-am:
 
445
 
 
446
ps: ps-am
 
447
 
 
448
ps-am:
 
449
 
 
450
uninstall-am: uninstall-info-am uninstall-local
 
451
        @$(NORMAL_INSTALL)
 
452
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 
453
 
 
454
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
 
455
        dist-hook distclean distclean-generic distclean-libtool \
 
456
        distdir dvi dvi-am html html-am info info-am install \
 
457
        install-am install-data install-data-am install-data-hook \
 
458
        install-data-local install-exec install-exec-am install-info \
 
459
        install-info-am install-man install-strip installcheck \
 
460
        installcheck-am installdirs maintainer-clean \
 
461
        maintainer-clean-generic mostlyclean mostlyclean-generic \
 
462
        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 
463
        uninstall-hook uninstall-info-am uninstall-local
 
464
 
 
465
 
 
466
omf: omf_timestamp
 
467
 
 
468
omf_timestamp: $(omffile)
 
469
        -for file in $(omffile); do \
 
470
          scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $(srcdir)/$$file.out; \
 
471
        done
 
472
        touch omf_timestamp
 
473
 
 
474
install-data-hook-omf:
 
475
        $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
 
476
        for file in $(omffile); do \
 
477
                $(INSTALL_DATA) $(srcdir)/$$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
 
478
        done
 
479
        -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
 
480
 
 
481
uninstall-local-omf:
 
482
        -for file in $(srcdir)/*.omf; do \
 
483
                basefile=`basename $$file`; \
 
484
                rm -f $(omf_dest_dir)/$$basefile; \
 
485
        done
 
486
        -rmdir $(omf_dest_dir)
 
487
        -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
 
488
 
 
489
all: omf
 
490
 
 
491
# this interferes with make establishing the proper depandancies, since
 
492
# we use SUFFIX rules to build the docs.
 
493
# $(docname).xml: $(entities)
 
494
#       -ourdir=`pwd`;  \
 
495
#       cd $(srcdir);   \
 
496
#       cp $(entities) $$ourdir
 
497
 
 
498
app-dist-hook:
 
499
        if test "$(figdir)"; then \
 
500
          $(mkinstalldirs) $(distdir)/$(figdir); \
 
501
          for file in $(srcdir)/$(figdir)/*.png; do \
 
502
            basefile=`echo $$file | sed -e  's,^.*/,,'`; \
 
503
            $(INSTALL_DATA) $$file $(distdir)/$(figdir)/$$basefile; \
 
504
          done \
 
505
        fi
 
506
 
 
507
install-data-local: omf
 
508
        $(mkinstalldirs) $(DESTDIR)$(docdir)
 
509
        for file in $(xml_files); do \
 
510
          cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
 
511
        done
 
512
        if test "$(figdir)"; then \
 
513
          $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \
 
514
          for file in $(srcdir)/$(figdir)/*.png; do \
 
515
            basefile=`echo $$file | sed -e  's,^.*/,,'`; \
 
516
            $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
 
517
          done \
 
518
        fi
 
519
 
 
520
uninstall-local: uninstall-local-doc uninstall-local-omf
 
521
 
 
522
uninstall-local-doc:
 
523
        -if test "$(figdir)"; then \
 
524
          for file in $(srcdir)/$(figdir)/*.png; do \
 
525
            basefile=`echo $$file | sed -e  's,^.*/,,'`; \
 
526
            rm -f $(docdir)/$(figdir)/$$basefile; \
 
527
          done; \
 
528
          rmdir $(DESTDIR)$(docdir)/$(figdir); \
 
529
        fi
 
530
        -for file in $(xml_files); do \
 
531
          rm -f $(DESTDIR)$(docdir)/$$file; \
 
532
        done
 
533
        -rmdir $(DESTDIR)$(docdir)
 
534
all:
 
535
        @echo "Nothing to do in doc/C for target all"
 
536
 
 
537
alldocs: html pdf man info
 
538
 
 
539
html: gnash.html
 
540
pdf:  gnash.pdf
 
541
man:  gnash.1
 
542
texi: gnash.texi
 
543
info: gnash.info
 
544
gnash.pdf gnash.html gnash.texi gnash.info gnash.1: gnash.xml
 
545
 
 
546
.xml.html:
 
547
        @echo "Making HTML from XML source..."
 
548
        @xsltproc --output $@ --nonet $(STYLESDIR)/html/docbook.xsl $<
 
549
 
 
550
.xml.pdf:
 
551
        @echo "Making PDF from XML source..."
 
552
        @fop.sh -xsl $(STYLESDIR)/fo/docbook.xsl -xml $< -pdf $@
 
553
 
 
554
.xml.texi:
 
555
        db2x_xsltproc -s texi $(srcdir)/gnash.xml -o gnash.txml
 
556
        db2x_texixml gnash.txml
 
557
        mv gnash_manual_v*.texi gnash.texi
 
558
        -@$(RM) gnash.txml
 
559
 
 
560
.texi.info:
 
561
        makeinfo --force gnash.texi
 
562
        mv gnash_manual_v*.info gnash.info
 
563
        -@$(RM) gnash.texi
 
564
 
 
565
dist-hook: app-dist-hook
 
566
 
 
567
lint:
 
568
        @xmllint $(srcdir)/gnash.xml
 
569
 
 
570
gnash.1: gnash-man.xml
 
571
        @echo "Making man pages from XML source..."
 
572
#       @xsltproc --output pgd.1 --nonet $(STYLESDIR)/manpages/docbook.xsl $(srcdir)/gnash-man.xml
 
573
        db2x_xsltproc -s man $(srcdir)/gnash-man.xml -o gnash.mxml
 
574
        db2x_manxml gnash.mxml
 
575
        -@$(RM) gnash.mxml
 
576
 
 
577
# FIXME: install man page
 
578
install-data-hook: install-data-hook-omf gnash.html gnash.pdf
 
579
        @$(NORMAL_INSTALL)
 
580
        $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/images;
 
581
        $(INSTALL_DATA) gnash.html $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION);
 
582
        $(INSTALL_DATA) gnash.pdf  $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION);
 
583
        for png in $(srcdir)/images/*.png; do \
 
584
            if test -f $$png; then \
 
585
              $(INSTALL_DATA) $$png $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/images; \
 
586
            fi \
 
587
         done
 
588
 
 
589
uninstall-hook: 
 
590
        -rm -fr $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
 
591
 
 
592
# install GNOME help files, which are basically the html output
 
593
# install-ghelp: gnash.html
 
594
#       $(mkinstalldirs) $(gnash_helpdir)/images
 
595
#       $(INSTALL_DATA) gnash.html $(gnash_helpdir)
 
596
#       $(INSTALL_DATA) images/*.png $(gnash_helpdir)/images
 
597
 
 
598
#       $(INSTALL_DATA) $(srcdir)/images/*.png $(gnash_helpdir)/images
 
599
 
 
600
install-doc:
 
601
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
602
# Otherwise a system limit (for SysV at least) may be exceeded.
 
603
.NOEXPORT: