Merge mysql.com:/home/kent/bk/mysql-5.0-build
into mysql.com:/home/kent/bk/mysql-5.1-build
This commit is contained in:
commit
3749d77c8c
@ -26,7 +26,7 @@ all-local: $(TXT_FILES)
|
|||||||
# make sure that "make install" installs the info page, too
|
# make sure that "make install" installs the info page, too
|
||||||
# automake only seems to take care of this automatically,
|
# automake only seems to take care of this automatically,
|
||||||
# if we're building the info page from texi directly.
|
# if we're building the info page from texi directly.
|
||||||
install-data-hook: mysql.info
|
install-data-hook: $(srcdir)/mysql.info
|
||||||
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
||||||
$(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir)
|
$(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir)
|
||||||
|
|
||||||
@ -44,22 +44,22 @@ CLEAN_FILES: $(TXT_FILES)
|
|||||||
|
|
||||||
GT = $(srcdir)/generate-text-files.pl
|
GT = $(srcdir)/generate-text-files.pl
|
||||||
|
|
||||||
../INSTALL-SOURCE: mysql.info $(GT)
|
../INSTALL-SOURCE: $(srcdir)/mysql.info $(GT)
|
||||||
perl -w $(GT) $(srcdir)/mysql.info "installing-source" "windows-source-build" > $@
|
perl -w $(GT) $(srcdir)/mysql.info "installing-source" "windows-source-build" > $@
|
||||||
|
|
||||||
../INSTALL-WIN-SOURCE: mysql.info $(GT)
|
../INSTALL-WIN-SOURCE: $(srcdir)/mysql.info $(GT)
|
||||||
perl -w $(GT) $(srcdir)/mysql.info "windows-source-build" "post-installation" > $@
|
perl -w $(GT) $(srcdir)/mysql.info "windows-source-build" "post-installation" > $@
|
||||||
|
|
||||||
# We put the description for the binary installation here so that
|
# 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
|
# 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.
|
# the toplevel by the script that makes the binary tar files.
|
||||||
INSTALL-BINARY: mysql.info $(GT)
|
INSTALL-BINARY: $(srcdir)/mysql.info $(GT)
|
||||||
perl -w $(GT) $(srcdir)/mysql.info "installing-binary" "installing-source" > $@
|
perl -w $(GT) $(srcdir)/mysql.info "installing-binary" "installing-source" > $@
|
||||||
|
|
||||||
../EXCEPTIONS-CLIENT: mysql.info $(GT)
|
../EXCEPTIONS-CLIENT: $(srcdir)/mysql.info $(GT)
|
||||||
perl -w $(GT) $(srcdir)/mysql.info "mysql-floss-license-exception" "function-index" > $@
|
perl -w $(GT) $(srcdir)/mysql.info "mysql-floss-license-exception" "function-index" > $@
|
||||||
|
|
||||||
../support-files/MacOSX/ReadMe.txt: mysql.info $(GT)
|
../support-files/MacOSX/ReadMe.txt: $(srcdir)/mysql.info $(GT)
|
||||||
perl -w $(GT) $(srcdir)/mysql.info "mac-os-x-installation" "netware-installation" > $@
|
perl -w $(GT) $(srcdir)/mysql.info "mac-os-x-installation" "netware-installation" > $@
|
||||||
|
|
||||||
# Include the Windows manual.chm in source .tar.gz only if available.
|
# Include the Windows manual.chm in source .tar.gz only if available.
|
||||||
|
@ -25,7 +25,7 @@ revision=""
|
|||||||
rev=""
|
rev=""
|
||||||
build=""
|
build=""
|
||||||
suffix=""
|
suffix=""
|
||||||
mwenv=""
|
#obsolete mwenv=""
|
||||||
|
|
||||||
# show usage
|
# show usage
|
||||||
show_usage()
|
show_usage()
|
||||||
@ -151,20 +151,19 @@ echo "making files writable..."
|
|||||||
cd $target_dir
|
cd $target_dir
|
||||||
chmod -R u+rw,g+rw .
|
chmod -R u+rw,g+rw .
|
||||||
|
|
||||||
## # edit the mvenv file
|
#obsolete # edit the mvenv file
|
||||||
## echo "updating the mwenv environment file..."
|
#obsolete echo "updating the mwenv environment file..."
|
||||||
mwenv="./netware/BUILD/mwenv"
|
#obsolete mwenv="./netware/BUILD/mwenv"
|
||||||
## mv -f $mwenv $mwenv.org
|
#obsolete mv -f $mwenv $mwenv.org
|
||||||
## sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \
|
#obsolete sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \
|
||||||
## -e "s;BUILD_DIR;$build_dir;g" \
|
#obsolete -e "s;BUILD_DIR;$build_dir;g" \
|
||||||
## -e "s;VERSION;$version;g" $mwenv.org > $mwenv
|
#obsolete -e "s;VERSION;$version;g" $mwenv.org > $mwenv
|
||||||
## chmod +rwx $mwenv
|
#obsolete chmod +rwx $mwenv
|
||||||
|
#obsolete
|
||||||
PWD=`pwd`
|
#obsolete PWD=`pwd`
|
||||||
# This line will catch the default value only, let's hope it is correct
|
#obsolete # This line will catch the default value only, let's hope it is correct
|
||||||
SRC_DIR=`grep "^ *export MYDEV=" $mwenv | cut -d'=' -f2 | \
|
#obsolete SRC_DIR=`grep "^ *export MYDEV=" $mwenv | cut -d'=' -f2 | \
|
||||||
sed -e 's;";;g' -e "s;^;echo ;g" -e "s;$;/\`basename $PWD\`;g" | /bin/sh`
|
#obsolete sed -e 's;";;g' -e "s;^;echo ;g" -e "s;$;/\`basename $PWD\`;g" | /bin/sh`
|
||||||
|
|
||||||
|
|
||||||
# edit the def file versions
|
# edit the def file versions
|
||||||
echo "updating *.def file versions..."
|
echo "updating *.def file versions..."
|
||||||
|
@ -155,12 +155,15 @@ sql_yacc.cc: sql_yacc.yy
|
|||||||
|
|
||||||
sql_yacc.h: sql_yacc.yy
|
sql_yacc.h: sql_yacc.yy
|
||||||
|
|
||||||
|
# Be careful here, note that we use VPATH and might or might not have
|
||||||
|
# a pregenerated "sql_yacc.cc" in $(srcdir) or one we just built in
|
||||||
|
# $(builddir). And it has to work if $(srcdir) == $(builddir).
|
||||||
sql_yacc.o: sql_yacc.cc sql_yacc.h $(HEADERS)
|
sql_yacc.o: sql_yacc.cc sql_yacc.h $(HEADERS)
|
||||||
@SED@ -e 's/__attribute__ ((__unused__))//' sql_yacc.cc > sql_yacc.cc-new
|
@SED@ -e 's/__attribute__ ((__unused__))//' $< > sql_yacc.cc-new
|
||||||
@MV@ sql_yacc.cc-new sql_yacc.cc
|
@MV@ sql_yacc.cc-new sql_yacc.cc
|
||||||
@echo "Note: The following compile may take a long time."
|
@echo "Note: The following compile may take a long time."
|
||||||
@echo "If it fails, re-run configure with --with-low-memory"
|
@echo "If it fails, re-run configure with --with-low-memory"
|
||||||
$(CXXCOMPILE) $(LM_CFLAGS) -c $<
|
$(CXXCOMPILE) $(LM_CFLAGS) -c sql_yacc.cc
|
||||||
|
|
||||||
# FIXME seems like now "lex_hash.h" differs depending on configure
|
# FIXME seems like now "lex_hash.h" differs depending on configure
|
||||||
# flags, so can't pregenerate and include in source TAR. Revert to
|
# flags, so can't pregenerate and include in source TAR. Revert to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user