summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.in2
-rwxr-xr-xdebian/rules8
3 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 381d1e85526..28551d52da7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/configure.in b/configure.in
index bed74b06bd7..826281f0790 100644
--- a/configure.in
+++ b/configure.in
@@ -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
diff --git a/debian/rules b/debian/rules
index 03f85f18160..7b83bc4b97c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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