Fixed make distcheck problem.

parent 357a694d
......@@ -98,7 +98,6 @@ bin-dist: all
# Remove BK's "SCCS" subdirectories from source distribution
# Create initial database files for Windows installations.
# Create default debian control file for debian packaging needs
dist-hook:
rm -rf `find $(distdir) -type d -name SCCS -print`
rm -f `find $(distdir) -type l -print`
......@@ -107,7 +106,6 @@ dist-hook:
--basedir=$(top_builddir) \
--datadir=$(distdir)/win/data \
--srcdir=$(top_srcdir)
debian/rules control-file && cp $(top_builddir)/debian/control $(distdir)/debian/control
tags:
support-files/build-tags
......
......@@ -2900,7 +2900,7 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
cmd-line-utils/libedit/Makefile dnl
win/Makefile dnl
zlib/Makefile dnl
debian/Makefile debian/defs.mk dnl
debian/Makefile debian/defs.mk debian/control dnl
cmd-line-utils/readline/Makefile)
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
AC_OUTPUT
......
......@@ -18,8 +18,8 @@ ifeq ("x$(MYSQL_FLAVOR)","x")
endif
ifneq ("x$(MYSQL_FLAVOR)","x")
export MYSQL_BASE_VERSION=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION)
export MYSQL_PREVIOUS_BASE_VERSION=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION)
MYSQL_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION)
MYSQL_PREVIOUS_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION)
endif
PACKAGE=mysql-$(MYSQL_BASE_VERSION)
......@@ -210,8 +210,10 @@ clean: configure.in Makefile.am control-file
rm -f build-stamp
cp debian/defs.mk debian/defs.mk.sav
cp debian/control debian/control.sav
-make distclean
cp debian/defs.mk.sav debian/defs.mk
mv debian/defs.mk.sav debian/defs.mk
mv debian/control.sav debian/control
debconf-updatepo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment