2006-12-31 01:02:27 +01:00
|
|
|
# Copyright (C) 2000-2006 MySQL AB
|
2005-04-19 13:33:38 +02:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2006-12-23 20:17:15 +01:00
|
|
|
# the Free Software Foundation; version 2 of the License.
|
2005-04-19 13:33:38 +02:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-04-13 11:51:38 +02:00
|
|
|
noinst_SCRIPTS = Support/generate-text-files.pl
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-09-14 16:34:35 +02:00
|
|
|
EXTRA_DIST = $(noinst_SCRIPTS) manual.chm mysql.info INSTALL-BINARY
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-09-24 15:51:45 +02:00
|
|
|
TXT_FILES= ../INSTALL-SOURCE ../INSTALL-WIN-SOURCE ../EXCEPTIONS-CLIENT \
|
2003-04-25 13:02:44 +02:00
|
|
|
INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2005-09-24 15:51:45 +02:00
|
|
|
all-local: $(TXT_FILES)
|
|
|
|
|
2005-04-19 13:33:38 +02:00
|
|
|
# make sure that "make install" installs the info page, too
|
|
|
|
# automake only seems to take care of this automatically,
|
|
|
|
# if we're building the info page from texi directly.
|
2006-11-28 18:04:10 +01:00
|
|
|
install-data-hook: $(srcdir)/mysql.info
|
2005-04-19 13:33:38 +02:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
|
|
|
$(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir)
|
|
|
|
|
2005-09-24 15:51:45 +02:00
|
|
|
uninstall-local:
|
|
|
|
@RM@ -f $(DESTDIR)$(infodir)/mysql.info
|
|
|
|
|
2005-11-09 10:56:04 +01:00
|
|
|
# Problems with "make distclean", works differently for make files
|
|
|
|
# generated by different versions of the automake. Some require the
|
|
|
|
# generated files explicitly in DISTCLEANFILES.
|
|
|
|
DISTCLEANFILES = $(TXT_FILES)
|
|
|
|
|
2005-09-24 15:51:45 +02:00
|
|
|
# This target is not used in builds, just for convinience
|
|
|
|
CLEAN_FILES: $(TXT_FILES)
|
|
|
|
touch $(TXT_FILES)
|
2000-07-31 21:29:14 +02:00
|
|
|
|
|
|
|
GT = $(srcdir)/Support/generate-text-files.pl
|
|
|
|
|
2006-11-28 18:04:10 +01:00
|
|
|
../INSTALL-SOURCE: $(srcdir)/mysql.info $(GT)
|
2006-11-27 19:04:57 +01:00
|
|
|
perl -w $(GT) $(srcdir)/mysql.info "installing-source" "windows-source-build" > $@
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-11-28 18:04:10 +01:00
|
|
|
../INSTALL-WIN-SOURCE: $(srcdir)/mysql.info $(GT)
|
2006-11-27 19:04:57 +01:00
|
|
|
perl -w $(GT) $(srcdir)/mysql.info "windows-source-build" "post-installation" > $@
|
2003-12-02 15:56:18 +01:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# We put the description for the binary installation here so that
|
|
|
|
# people who download source wont have to see it. It is moved up to
|
|
|
|
# the toplevel by the script that makes the binary tar files.
|
2006-11-28 18:04:10 +01:00
|
|
|
INSTALL-BINARY: $(srcdir)/mysql.info $(GT)
|
2006-11-27 19:04:57 +01:00
|
|
|
perl -w $(GT) $(srcdir)/mysql.info "installing-binary" "installing-source" > $@
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-11-28 18:04:10 +01:00
|
|
|
../EXCEPTIONS-CLIENT: $(srcdir)/mysql.info $(GT)
|
2006-11-27 19:04:57 +01:00
|
|
|
perl -w $(GT) $(srcdir)/mysql.info "mysql-floss-license-exception" "function-index" > $@
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2006-11-28 18:04:10 +01:00
|
|
|
../support-files/MacOSX/ReadMe.txt: $(srcdir)/mysql.info $(GT)
|
2006-11-27 19:04:57 +01:00
|
|
|
perl -w $(GT) $(srcdir)/mysql.info "mac-os-x-installation" "netware-installation" > $@
|
2003-04-25 13:02:44 +02:00
|
|
|
|
2000-10-25 00:50:46 +02:00
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|