Makefile.am 1.57 KB
Newer Older
bk@work.mysql.com's avatar
bk@work.mysql.com committed
1 2 3 4 5 6 7 8 9
# Normally you do not need to remake the files here. But if you want
# to you will need the GNU TeX-info utilities. To make a Postscript
# files you also need TeX and dvips. To make the PDF file you will
# need pdftex. We use the teTeX distribution for all of these.

# 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
10
# docs@mysql.com
bk@work.mysql.com's avatar
bk@work.mysql.com committed
11

12
noinst_SCRIPTS =	Support/generate-text-files.pl
bk@work.mysql.com's avatar
bk@work.mysql.com committed
13

14
EXTRA_DIST =		$(noinst_SCRIPTS) mysql.info INSTALL-BINARY
bk@work.mysql.com's avatar
bk@work.mysql.com committed
15

16
all:			txt_files
bk@work.mysql.com's avatar
bk@work.mysql.com committed
17

serg@serg.mylan's avatar
serg@serg.mylan committed
18
txt_files:		../INSTALL-SOURCE ../COPYING ../INSTALL-WIN-SOURCE ../EXCEPTIONS-CLIENT \
19
			INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt
bk@work.mysql.com's avatar
bk@work.mysql.com committed
20

21 22
CLEAN_FILES:		$(txt_files)
	touch $(txt_files)
bk@work.mysql.com's avatar
bk@work.mysql.com committed
23 24 25 26

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

../INSTALL-SOURCE:	mysql.info $(GT)
27
	perl -w $(GT) mysql.info "Installing" "Tutorial" > $@
bk@work.mysql.com's avatar
bk@work.mysql.com committed
28

29 30 31
../INSTALL-WIN-SOURCE:	mysql.info $(GT)
	perl -w $(GT) mysql.info "Windows source build" "Post-installation" > $@

bk@work.mysql.com's avatar
bk@work.mysql.com committed
32 33 34 35 36 37
# 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" > $@

38
../EXCEPTIONS-CLIENT: mysql.info $(GT)
39
	perl -w $(GT) mysql.info "MySQL FLOSS License Exception" "Function Index" > $@
bk@work.mysql.com's avatar
bk@work.mysql.com committed
40

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

44 45
# Don't update the files from bitkeeper
%::SCCS/s.%