# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# -*- Makefile -*-

# Normally you do not need to remake the files here. But if you want
# to you will need the GNU texinfo utilities. To make a PostScript
# files you also need TeX and dvips. We use the teTeX distribution for
# both. And for the pdf file you will need pdftex.

# We avoid default automake rules because of problems with .dvi file
# and BSD makes

# If you know how to fix any of this more elegantly please mail
# david@mysql.com


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
ALLOCA = @ALLOCA@
AS = @AS@
AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
CC = @CC@
CFLAGS = @CFLAGS@
CHARSET_OBJS = @CHARSET_OBJS@
CHARSET_SRCS = @CHARSET_SRCS@
CHECK_PID = @CHECK_PID@
CHMOD = @CHMOD@
CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
CLIENT_LIBS = @CLIENT_LIBS@
CMP = @CMP@
COMPILATION_COMMENT = @COMPILATION_COMMENT@
CONF_COMMAND = @CONF_COMMAND@
CP = @CP@
CPP = @CPP@
CXX = @CXX@
DLLTOOL = @DLLTOOL@
DOT_FRM_VERSION = @DOT_FRM_VERSION@
FIND_PROC = @FIND_PROC@
GXX = @GXX@
HOSTNAME = @HOSTNAME@
IS_LINUX = @IS_LINUX@
KILL = @KILL@
LD = @LD@
LIBTOOL = @LIBTOOL@
LM_CFLAGS = @LM_CFLAGS@
LN = @LN@
LN_CP_F = @LN_CP_F@
LN_S = @LN_S@
MACHINE_TYPE = @MACHINE_TYPE@
MAINT = @MAINT@
MAKE_SHELL = @MAKE_SHELL@
MT_INCLUDES = @MT_INCLUDES@
MT_LD_ADD = @MT_LD_ADD@
MV = @MV@
MYSQLD_DEFAULT_SWITCHES = @MYSQLD_DEFAULT_SWITCHES@
MYSQLD_EXTRA_LDFLAGS = @MYSQLD_EXTRA_LDFLAGS@
MYSQLD_USER = @MYSQLD_USER@
MYSQL_BASE_VERSION = @MYSQL_BASE_VERSION@
MYSQL_NO_DASH_VERSION = @MYSQL_NO_DASH_VERSION@
MYSQL_TCP_PORT = @MYSQL_TCP_PORT@
MYSQL_TCP_PORT_DEFAULT = @MYSQL_TCP_PORT_DEFAULT@
MYSQL_UNIX_ADDR = @MYSQL_UNIX_ADDR@
MYSQL_VERSION_ID = @MYSQL_VERSION_ID@
NM = @NM@
OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
PERL = @PERL@
PERL5 = @PERL5@
PROTOCOL_VERSION = @PROTOCOL_VERSION@
PS = @PS@
RANLIB = @RANLIB@
RM = @RM@
SAVE_CFLAGS = @SAVE_CFLAGS@
SAVE_CXXFLAGS = @SAVE_CXXFLAGS@
SAVE_LDFLAGS = @SAVE_LDFLAGS@
SED = @SED@
SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
SYSTEM_TYPE = @SYSTEM_TYPE@
TERMCAP_LIB = @TERMCAP_LIB@
THREAD_LOBJECTS = @THREAD_LOBJECTS@
THREAD_LPROGRAMS = @THREAD_LPROGRAMS@
VERSION = @VERSION@
WRAPLIBS = @WRAPLIBS@
YACC = @YACC@
bench_dirs = @bench_dirs@
docs_dirs = @docs_dirs@
mystrings_charset = @mystrings_charset@
readline_dir = @readline_dir@
readline_link = @readline_link@
server_scripts = @server_scripts@
sql_server_dirs = @sql_server_dirs@
uname_prog = @uname_prog@

TEXI2HTML_FLAGS = -iso -number
DVIPS = dvips
MAKEINFO = @MAKEINFO@

noinst_SCRIPTS = texi2html
info_TEXINFOS = manual.texi

targets = manual.txt manual.html
BUILT_SOURCES = $(targets) manual_toc.html include.texi INSTALL-BINARY
EXTRA_DIST = $(noinst_SCRIPTS) $(BUILT_SOURCES) MySQL-for-dummies mysqld_error.txt

# This need updating when the website moves!
@LOCAL_TRUE@BASE := /net/www/d3/mysqlwww
@LOCAL_TRUE@W := $(BASE)/html
@LOCAL_TRUE@HTMY := $(W)/htmy
@LOCAL_TRUE@IMG := $(W)/Img
@LOCAL_TRUE@WL := $(BASE)/html_login
@LOCAL_TRUE@GW := perl -w generate-web-page.pl
@LOCAL_TRUE@GT := perl -w generate-text-files.pl
@LOCAL_TRUE@WD := SitePages/template1.html SitePages/template2.html generate-web-page.pl
@LOCAL_TRUE@DD := /my/masters/mysql/Docs/WWW/html/Downloads

@LOCAL_TRUE@txt_files := ../INSTALL-SOURCE ../PUBLIC ../WIN-LICENSE ../MIRRORS INSTALL-BINARY

@LOCAL_TRUE@texi_readmes := $(W)/Contrib/00-README

@LOCAL_TRUE@texi_wpages := $(W)/links.html 		$(W)/mirrors.html 		$(W)/users.html 		$(W)/Contrib/index.html 		$(W)/what-is-mysql.html 		$(W)/mysql-intro.html 		$(W)/mysql-books.html

@LOCAL_TRUE@raw_wpages := $(W)/crash-me.html

@LOCAL_TRUE@gen_wpages := $(W)/doc.html 		$(W)/download.html 		$(W)/download_3.20.html 		$(W)/download_3.21.html 		$(W)/download_3.22.html 		$(W)/download_3.23.html 		$(W)/download_clients.html 		$(W)/download_mysql++.html 		$(W)/download_documents.html 		$(W)/download_linux.html 		$(W)/download_myodbc.html 		$(W)/download_os2.html 		$(W)/download_perl.html 		$(W)/download_win.html 		$(W)/info.html 		$(W)/mail.html 		$(W)/news.html 		$(W)/Icons/index.html 		$(W)/index.html 		$(WL)/index.html

@LOCAL_TRUE@htmy_wpages := $(HTMY)/brows_feedback.htmy 		$(HTMY)/browse.htmy 		$(HTMY)/consults.htmy 		$(HTMY)/crash-me-choose.htmy 		$(HTMY)/crash-me-get.htmy 		$(HTMY)/feedback.htmy 		$(HTMY)/get_amex.htmy 		$(HTMY)/get_consults.htmy 		$(HTMY)/get_feedback.htmy 		$(HTMY)/get_license.htmy 		$(HTMY)/get_mysql_w32.htmy 		$(HTMY)/license.htmy 		$(HTMY)/mysql_w32.htmy 		$(HTMY)/consultants_search.htmy 		$(HTMY)/consultants_search_result.htmy

# mysql-w32.htmy is a symlink to mysql_w32.htmy

# These have special rules below
@LOCAL_TRUE@htmy_inc := $(HTMY)/new-header.htmy 		$(HTMY)/new-trailer.htmy

@LOCAL_TRUE@rweb_images := mysql-logo.gif 		tcxlogo3.gif 		australia.gif austria.gif bulgaria.gif canada.gif 		croatia.gif chile.gif czech-republic.gif 		denmark.gif estonia.gif finland.gif france.gif 		germany.gif great-britain.gif hungary.gif israel.gif 		italy.gif japan.gif  netherlands.gif poland.gif 		portugal.gif romania.gif russia.gif singapore.gif 		south-africa.gif south-africa1.gif south-korea.gif 		sweden.gif taiwan.gif usa.gif ukraine.gif 		greece.gif switzerland.gif china.gif brazil.gif 		spain.gif iceland.gif ireland.gif

@LOCAL_TRUE@web_images := $(addprefix $(IMG)/, $(rweb_images))
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
SCRIPTS =  $(noinst_SCRIPTS)

TEXI2DVI = texi2dvi
INFO_DEPS = mysql.info
DVIS = manual.dvi
TEXINFOS = manual.texi
DIST_COMMON =  Makefile.am Makefile.in texinfo.tex


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Docs/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mysql.info: manual.texi
manual.dvi: manual.texi


.texi.info:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`

.texi.dvi:
	TEXINPUTS=.:$$TEXINPUTS \
	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<

.texi:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`

.texinfo.info:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`

.texinfo:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`

.texinfo.dvi:
	TEXINPUTS=.:$$TEXINPUTS \
	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<

.txi.info:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`

.txi.dvi:
	TEXINPUTS=.:$$TEXINPUTS \
	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<

.txi:
	@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
	cd $(srcdir) \
	  && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
.dvi.ps:
	$(DVIPS) $< -o $@

install-info-am: $(INFO_DEPS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(infodir)
	@list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  d=$(srcdir); \
	  for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
	    if test -f $$d/$$ifile; then \
	      echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
	      $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
	    else : ; fi; \
	  done; \
	done
	@$(POST_INSTALL)
	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
	  list='$(INFO_DEPS)'; \
	  for file in $$list; do \
	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
	  done; \
	else : ; fi

uninstall-info:
	$(PRE_UNINSTALL)
	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
	  ii=yes; \
	else ii=; fi; \
	list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  test -z "$ii" \
	    || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
	done
	@$(NORMAL_UNINSTALL)
	list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
	done

dist-info: $(INFO_DEPS)
	list='$(INFO_DEPS)'; \
	for base in $$list; do \
	  d=$(srcdir); \
	  for file in `cd $$d && eval echo $$base*`; do \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file; \
	  done; \
	done

mostlyclean-aminfo:
	-rm -f manual.aux manual.cp manual.cps manual.dvi manual.fn manual.fns \
	  manual.ky manual.kys manual.ps manual.log manual.pg \
	  manual.toc manual.tp manual.tps manual.vr manual.vrs \
	  manual.op manual.tr manual.cv manual.cn

clean-aminfo:

distclean-aminfo:

maintainer-clean-aminfo:
	cd $(srcdir) && for i in $(INFO_DEPS); do \
	  rm -f $$i; \
	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
	    rm -f $$i-[0-9]*; \
	  fi; \
	done
tags: TAGS
TAGS:


distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = Docs

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
info-am: $(INFO_DEPS)
info: info-am
dvi-am: $(DVIS)
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am

install-data-am: install-info-am
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-info
uninstall: uninstall-am
all-am: Makefile $(INFO_DEPS) $(SCRIPTS) all-local
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(infodir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-aminfo mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-aminfo clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-aminfo distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-aminfo maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
distclean-aminfo clean-aminfo maintainer-clean-aminfo tags distdir \
info-am info dvi-am dvi check check-am installcheck-am installcheck \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-local all-redirect all-am all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


all-local:		$(targets)

# The PostScript version is so big that is not included in the
# standard distribution. It is available for download from the home page.  
paper: manual_a4.ps manual_letter.ps

# The Makefile contains the previous version so we can not use that
include.texi:	../configure.in
	echo -n "@set mysql_version " > $@
	grep "AM_INIT_AUTOMAKE(mysql, " ../configure.in | \
	 sed -e 's;AM_INIT_AUTOMAKE(mysql, ;;' -e 's;);;' >> $@
	echo -n "@set default_port " >> $@
	grep "MYSQL_TCP_PORT_DEFAULT=" ../configure.in | \
	 sed -e 's;MYSQL_TCP_PORT_DEFAULT=;;' >> $@

mysql.info:	manual.texi include.texi
	cd $(srcdir) && $(MAKEINFO) --no-split -I $(srcdir) $<

manual.txt:	manual.texi include.texi
	cd $(srcdir) && \
	$(MAKEINFO) -I $(srcdir) --no-headers --no-split --output $@ $<

manual.html:	manual.texi include.texi $(srcdir)/texi2html
	cd $(srcdir) && @PERL@ texi2html $(TEXI2HTML_FLAGS) $<

# The texi2dvi gives a lot of harmless errors. Just ignore them unless
# you want to help with the typesetting part.
# This is the European papersize version
manual_a4.ps:	manual.texi include.texi
	TEXINPUTS=$(srcdir):$$TEXINPUTS \
	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' \
	    $(TEXI2DVI) --batch --texinfo '@afourpaper' $<
	$(DVIPS) -t a4 manual.dvi -o $@

# This is the American papersize version
manual_letter.ps:	manual.texi include.texi
	TEXINPUTS=$(srcdir):$$TEXINPUTS \
	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' \
	    $(TEXI2DVI) --batch $<
	$(DVIPS) -t letter manual.dvi -o $@

# Include images for the manual in the distribution
dist-hook:
	BD=`cd $(top_srcdir); pwd`; \
	if test ! -d $(distdir)/Img; then mkdir -p $(distdir)/Img; fi; \
	cp -p $(srcdir)/Img/*.gif $(srcdir)/Img/*.eps $(srcdir)/Img/*.txt \
		$(distdir)/Img;
	echo "PostScript and PDF versions suitable for printing" \
		> $(distdir)/manual.ps
	echo "are available from http://www.mysql.com/Manual/" \
		>> $(distdir)/manual.ps
	echo "or any mirror site" \
		>> $(distdir)/manual.ps

####################################################################
# From here everything is only for our automatic website updating. #
####################################################################

@LOCAL_TRUE@local:		toweb text_files

@LOCAL_TRUE@toweb:		man_to_web wpages text_files

@LOCAL_TRUE@man_to_web:	$(web_images) $(W)/Manual/manual.html $(W)/Manual/html-manual.tar.gz

@LOCAL_TRUE@wpages:		$(texi_wpages) $(texi_readmes) $(gen_wpages) $(raw_wpages) \
@LOCAL_TRUE@		$(htmy_wpages) $(htmy_inc) $(web_images) \
@LOCAL_TRUE@		iwpages

@LOCAL_TRUE@iwpages:	
@LOCAL_TRUE@		perl -w generate-file-index.pl

@LOCAL_TRUE@text_files:	$(txt_files)

@LOCAL_TRUE@$(web_images) : $(IMG)/%.gif : Img/%.gif
@LOCAL_TRUE@	cp $? $@

# Update documentation on web site
@LOCAL_TRUE@$(W)/Manual/manual.html:	manual.texi manual.html \
@LOCAL_TRUE@				manual_a4.ps manual_letter.ps \
@LOCAL_TRUE@				manual.pdf
@LOCAL_TRUE@	cp -f manual.texi texi2html $(W)/Manual
@LOCAL_TRUE@	cp -f manual.html manual_toc.html $(W)/Manual
@LOCAL_TRUE@	cp -f manual_a4.ps manual_letter.ps $(W)/Manual
@LOCAL_TRUE@	cp -f manual.pdf $(W)/Manual
@LOCAL_TRUE@	gzip --best --force $(W)/Manual/*.ps
@LOCAL_TRUE@	WD=`pwd`; cd $(W)/Manual_chapter; \
@LOCAL_TRUE@		perl $$WD/texi2html $(TEXI2HTML_FLAGS) \
@LOCAL_TRUE@		-split_chapter $$WD/manual.texi

@LOCAL_TRUE@$(W)/Manual/html-manual.tar.gz:	manual.html
@LOCAL_TRUE@	cd $(W)/Manual/; gtar --create --gzip --file=$@ --directory=$(W) Manual_chapter

@LOCAL_TRUE@../INSTALL-SOURCE:	mysql.info generate-text-files.pl
@LOCAL_TRUE@	$(GT) $< "Installing" "Compatibility" > $@

@LOCAL_TRUE@INSTALL-BINARY:	mysql.info generate-text-files.pl
@LOCAL_TRUE@	$(GT) $< "Installing binary" "Installing source" > $@

@LOCAL_TRUE@../PUBLIC:	mysql.info generate-text-files.pl
@LOCAL_TRUE@	$(GT) $< "Public license" "Win license" > $@

@LOCAL_TRUE@../WIN-LICENSE:	mysql.info generate-text-files.pl
@LOCAL_TRUE@	$(GT) $< "Win license" "Function Index" > $@

@LOCAL_TRUE@../MIRRORS:	manual.texi generate-text-files.pl generate-mirror-listing.pl
@LOCAL_TRUE@	perl -w generate-mirror-listing.pl $< > $@

@LOCAL_TRUE@$(W)/Contrib/00-README:	mysql.info generate-text-files.pl
@LOCAL_TRUE@	$(GT) $< "Contrib" "Credits" > $@

@LOCAL_TRUE@$(W)/mirrors.html: RawNode/manual_Getting_MySQL.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" Mirrors mirrors.gif "" mirrors1

@LOCAL_TRUE@$(W)/links.html: RawNode/manual_Useful_Links.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "Links" links.gif "" links1

@LOCAL_TRUE@$(W)/users.html:  RawNode/manual_Users.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Users" none.gif ""

@LOCAL_TRUE@$(W)/what-is-mysql.html: RawNode/manual_What-is.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "What is MySQL" info.gif ""

@LOCAL_TRUE@$(W)/mysql-intro.html: RawNode/manual_Introduction.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Introduction" none.gif ""

@LOCAL_TRUE@$(W)/mysql-books.html: RawNode/manual_MySQL-Books.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Books" none.gif ""

@LOCAL_TRUE@$(W)/Contrib/index.html: RawNode/manual_Contrib.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Contributed source" none.gif "../"

@LOCAL_TRUE@$(W)/doc.html:		SitePages/doc.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Documentation" doc.gif "" doc1

#
# Here comes the pages that uses information from the files in the
# download directory. Not that dir string (the third arg) is a shell
# glob pattern that should give a list of directories.
#

@LOCAL_TRUE@$(W)/download.html:	SitePages/download.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ $(DD)"/MySQL-3.22/" "MySQL Downloads" download.gif "" download1

@LOCAL_TRUE@$(W)/download_3.20.html:	SitePages/download_3.20.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ $(DD)"/MySQL-3.20/" "MySQL 3.20 downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_3.21.html:	SitePages/download_3.21.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ $(DD)"/MySQL-3.21/" "MySQL 3.21 downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_3.22.html:	SitePages/download_3.22.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ $(DD)"/MySQL-3.22/" "MySQL 3.22 downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_3.23.html:	SitePages/download_3.23.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ $(DD)"/MySQL-3.23/" "MySQL 3.23 downloads" download.gif ""

#
# Just normal variables again.
#

@LOCAL_TRUE@$(W)/download_clients.html:	SitePages/download_clients.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL clients downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_mysql++.html:	SitePages/download_mysql++.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL++ C++ API downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_documents.html:	SitePages/download_documents.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL documents downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_linux.html:	SitePages/download_linux.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL linux downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_myodbc.html:	SitePages/download_myodbc.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL ODBC downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_os2.html:	SitePages/download_os2.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL OS2 downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_perl.html:	SitePages/download_perl.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL perl downloads" download.gif ""

@LOCAL_TRUE@$(W)/download_win.html:	SitePages/download_win.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Windows downloads" download.gif ""

@LOCAL_TRUE@$(W)/info.html:		SitePages/info.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Information" info.gif "" info1

@LOCAL_TRUE@$(W)/mail.html:		SitePages/mail.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "Contacting us" none.gif ""

@LOCAL_TRUE@$(W)/news.html:		SitePages/news.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL News" news.gif "" news1

@LOCAL_TRUE@$(W)/Icons/index.html:	SitePages/icon-index.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL Icons" none.gif "../"

@LOCAL_TRUE@$(WL)/index.html:	SitePages/login-index.html $(WD)
@LOCAL_TRUE@	$(GW) $< $@ "" "MySQL for license/support customers" none.gif \
@LOCAL_TRUE@	"http://www.mysql.com/"

# This is also generated by the A-run-by-cron script
@LOCAL_TRUE@$(W)/index.html:	SitePages/main-index.html generate-web-page.pl
@LOCAL_TRUE@	$(GW) $< $@ "" "" "" "" "" "no_template"

@LOCAL_TRUE@$(HTMY)/new-header.htmy:	SitePages/template1.html generate-htmy-includes.pl
@LOCAL_TRUE@	perl -w generate-htmy-includes.pl $< $@

@LOCAL_TRUE@$(HTMY)/new-trailer.htmy:	SitePages/template2.html generate-htmy-includes.pl
@LOCAL_TRUE@	perl -w generate-htmy-includes.pl $< $@

@LOCAL_TRUE@$(htmy_wpages) : $(HTMY)/%.htmy : SitePages/%.htmy
@LOCAL_TRUE@	cp $< $@

@LOCAL_TRUE@$(raw_wpages) : $(W)/%.html : SitePages/%.html
@LOCAL_TRUE@	cp $< $@

# Fix: add --output-comment with some interesting info?
# Fix: remove the rsh when we have pdftex locally
# Fix: Error checking ...
# Fix: @image worked with a older version of pdftex. 
# Comment: We need to run pdftex 2 times to get the cross references right.
@LOCAL_TRUE@manual.pdf: manual.texi
@LOCAL_TRUE@	cat manual.texi | sed -e 's|@image{[^}]*} *||g' | rsh www2 -l mysql "cat > PDF-TeX-work/manual.texi"
@LOCAL_TRUE@	rcp include.texi mysql@www2:PDF-TeX-work/include.texi
@LOCAL_TRUE@	rcp Img/*.pdf mysql@www2:PDF-TeX-work/Img
@LOCAL_TRUE@	rsh www2 -l mysql "cd PDF-TeX-work; pdftex --interaction=nonstopmode '\input manual.texi'; pdftex --interaction=nonstopmode '\pdfcompresslevel=9' '\input manual.texi'"
@LOCAL_TRUE@	rcp mysql@www2:PDF-TeX-work/manual.pdf .

@LOCAL_TRUE@RawNode/%.html:	manual.texi texi2html
@LOCAL_TRUE@	if test ! -d RawNode; then mkdir RawNode; fi; \
@LOCAL_TRUE@	cd RawNode; rm -f *.html; \
@LOCAL_TRUE@	perl ../texi2html -Dweb -iso -split_node -empty_headers \
@LOCAL_TRUE@		-special_links "Manual_chapter/" ../manual.texi

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
