Makefile.am 2.19 KB
Newer Older
unknown's avatar
unknown committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
# 
# 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
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# 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
unknown's avatar
unknown committed
16

17
noinst_SCRIPTS =	Support/generate-text-files.pl
unknown's avatar
unknown committed
18

19
EXTRA_DIST =		$(noinst_SCRIPTS) mysql.info INSTALL-BINARY
unknown's avatar
unknown committed
20

21
all:			txt_files
unknown's avatar
unknown committed
22

unknown's avatar
unknown committed
23
txt_files:		../INSTALL-SOURCE ../INSTALL-WIN-SOURCE ../EXCEPTIONS-CLIENT \
24
			INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt
unknown's avatar
unknown committed
25

unknown's avatar
unknown committed
26 27 28 29 30 31 32
# 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.
install-data-hook:	mysql.info
	$(mkinstalldirs) $(DESTDIR)$(infodir)
	$(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir)

33 34
CLEAN_FILES:		$(txt_files)
	touch $(txt_files)
unknown's avatar
unknown committed
35 36 37 38

GT = $(srcdir)/Support/generate-text-files.pl

../INSTALL-SOURCE:	mysql.info $(GT)
unknown's avatar
unknown committed
39
	perl -w $(GT) mysql.info "Installing" "Tutorial" > $@
unknown's avatar
unknown committed
40

41 42 43
../INSTALL-WIN-SOURCE:	mysql.info $(GT)
	perl -w $(GT) mysql.info "Windows source build" "Post-installation" > $@

unknown's avatar
unknown committed
44 45 46 47 48 49
# 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.
INSTALL-BINARY:	mysql.info $(GT)
	perl -w $(GT) mysql.info "Installing binary" "Installing source" > $@

50
../EXCEPTIONS-CLIENT: mysql.info $(GT)
51
	perl -w $(GT) mysql.info "MySQL FLOSS License Exception" "Function Index" > $@
unknown's avatar
unknown committed
52

53
../support-files/MacOSX/ReadMe.txt:	mysql.info $(GT)
54
	perl -w $(GT) mysql.info "Mac OS X installation" "NetWare installation" > $@
55

56 57
# Don't update the files from bitkeeper
%::SCCS/s.%