1
# Makefile.in generated by automake 1.9.2 from Makefile.am.
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.
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
18
# Copyright (C) 2005 Free Software Foundation, Inc.
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
32
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
36
# No modifications of this Makefile should be necessary.
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.
52
# example Makefile.am:
54
# docname = scrollkeeper-manual
56
# omffile=scrollkeeper-manual-C.omf
58
# include $(top_srcdir)/help/xmldocs.make
59
# dist-hook: app-dist-hook
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)
70
# No modifications of this Makefile should be necessary.
72
# This file contains the build instructions for installing OMF files. It is
73
# generally called from the makefiles for particular formats of documentation.
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.
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.
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.
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)
97
top_srcdir = @top_srcdir@
99
pkgdatadir = $(datadir)/@PACKAGE@
100
pkglibdir = $(libdir)/@PACKAGE@
101
pkgincludedir = $(includedir)/@PACKAGE@
103
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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)
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 \
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) \
132
mkinstalldirs = $(install_sh) -d
133
CONFIG_HEADER = $(top_builddir)/config.h
137
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
139
AMDEP_FALSE = @AMDEP_FALSE@
140
AMDEP_TRUE = @AMDEP_TRUE@
143
AUTOCONF = @AUTOCONF@
144
AUTOHEADER = @AUTOHEADER@
145
AUTOMAKE = @AUTOMAKE@
148
CCDEPMODE = @CCDEPMODE@
151
CPPFLAGS = @CPPFLAGS@
154
CXXDEPMODE = @CXXDEPMODE@
155
CXXFLAGS = @CXXFLAGS@
156
CYGPATH_W = @CYGPATH_W@
159
DMALLOC_LIB = @DMALLOC_LIB@
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@
190
LIBXML_CFLAGS = @LIBXML_CFLAGS@
191
LIBXML_LIBS = @LIBXML_LIBS@
193
LTLIBOBJS = @LTLIBOBJS@
195
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
196
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
197
MAKEINFO = @MAKEINFO@
199
OPENGL_CFLAGS = @OPENGL_CFLAGS@
200
OPENGL_LIBS = @OPENGL_LIBS@
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@
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@
223
X_CFLAGS = @X_CFLAGS@
224
X_EXTRA_LIBS = @X_EXTRA_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@
243
am__untar = @am__untar@
246
build_alias = @build_alias@
247
build_cpu = @build_cpu@
248
build_os = @build_os@
249
build_vendor = @build_vendor@
251
docbook_styles = @docbook_styles@
252
exec_prefix = @exec_prefix@
254
host_alias = @host_alias@
255
host_cpu = @host_cpu@
257
host_vendor = @host_vendor@
258
includedir = @includedir@
260
install_sh = @install_sh@
262
libexecdir = @libexecdir@
263
localstatedir = @localstatedir@
266
oldincludedir = @oldincludedir@
268
program_transform_name = @program_transform_name@
270
sharedstatedir = @sharedstatedir@
271
sysconfdir = @sysconfdir@
273
target_alias = @target_alias@
274
target_cpu = @target_cpu@
275
target_os = @target_os@
276
target_vendor = @target_vendor@
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)
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 \
291
omf_dest_dir = $(datadir)/omf/@PACKAGE@
292
scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
293
STYLESDIR = @docbook_styles@
299
SUFFIXES = .xml .html .texi .1
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)
306
case '$(am__configure_deps)' in \
308
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
313
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/C/Makefile'; \
314
cd $(top_srcdir) && \
315
$(AUTOMAKE) --gnu doc/C/Makefile
317
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
320
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
322
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
323
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
326
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
327
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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
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 \
356
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
357
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
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 \
363
$(mkdir_p) "$(distdir)$$dir"; \
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; \
371
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
373
test -f $(distdir)/$$file \
374
|| cp -p $$d/$$file $(distdir)/$$file \
378
$(MAKE) $(AM_MAKEFLAGS) \
379
top_distdir="$(top_distdir)" distdir="$(distdir)" \
386
install-exec: install-exec-am
387
install-data: install-data-am
388
uninstall: uninstall-am
391
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
393
installcheck: installcheck-am
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
402
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
405
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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."
412
clean-am: clean-generic clean-libtool mostlyclean-am
414
distclean: distclean-am
416
distclean-am: clean-am distclean-generic distclean-libtool
424
install-data-am: install-data-local
426
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
430
install-info: install-info-am
436
maintainer-clean: maintainer-clean-am
438
maintainer-clean-am: distclean-am maintainer-clean-generic
440
mostlyclean: mostlyclean-am
442
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
450
uninstall-am: uninstall-info-am uninstall-local
452
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
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
468
omf_timestamp: $(omffile)
469
-for file in $(omffile); do \
470
scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $(srcdir)/$$file.out; \
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; \
479
-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
482
-for file in $(srcdir)/*.omf; do \
483
basefile=`basename $$file`; \
484
rm -f $(omf_dest_dir)/$$basefile; \
486
-rmdir $(omf_dest_dir)
487
-scrollkeeper-update -p $(scrollkeeper_localstate_dir)
491
# this interferes with make establishing the proper depandancies, since
492
# we use SUFFIX rules to build the docs.
493
# $(docname).xml: $(entities)
496
# cp $(entities) $$ourdir
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; \
507
install-data-local: omf
508
$(mkinstalldirs) $(DESTDIR)$(docdir)
509
for file in $(xml_files); do \
510
cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
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; \
520
uninstall-local: uninstall-local-doc uninstall-local-omf
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; \
528
rmdir $(DESTDIR)$(docdir)/$(figdir); \
530
-for file in $(xml_files); do \
531
rm -f $(DESTDIR)$(docdir)/$$file; \
533
-rmdir $(DESTDIR)$(docdir)
535
@echo "Nothing to do in doc/C for target all"
537
alldocs: html pdf man info
544
gnash.pdf gnash.html gnash.texi gnash.info gnash.1: gnash.xml
547
@echo "Making HTML from XML source..."
548
@xsltproc --output $@ --nonet $(STYLESDIR)/html/docbook.xsl $<
551
@echo "Making PDF from XML source..."
552
@fop.sh -xsl $(STYLESDIR)/fo/docbook.xsl -xml $< -pdf $@
555
db2x_xsltproc -s texi $(srcdir)/gnash.xml -o gnash.txml
556
db2x_texixml gnash.txml
557
mv gnash_manual_v*.texi gnash.texi
561
makeinfo --force gnash.texi
562
mv gnash_manual_v*.info gnash.info
565
dist-hook: app-dist-hook
568
@xmllint $(srcdir)/gnash.xml
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
577
# FIXME: install man page
578
install-data-hook: install-data-hook-omf gnash.html gnash.pdf
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; \
590
-rm -fr $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
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
598
# $(INSTALL_DATA) $(srcdir)/images/*.png $(gnash_helpdir)/images
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.