Commit ad4922ef authored by unknown's avatar unknown

Fixed make distcheck problem.


Makefile.am:
  Removed debian/control creation from the top level dist-hook
configure.in:
  Create debian/control from configure again
debian/rules:
  Protect debian/control from the debuild distclean run. 
  Prevent a makefile variable loop when settin MYSQL_BASE_VERSION
parent 3b2b2d88
...@@ -98,7 +98,6 @@ bin-dist: all ...@@ -98,7 +98,6 @@ bin-dist: all
# Remove BK's "SCCS" subdirectories from source distribution # Remove BK's "SCCS" subdirectories from source distribution
# Create initial database files for Windows installations. # Create initial database files for Windows installations.
# Create default debian control file for debian packaging needs
dist-hook: dist-hook:
rm -rf `find $(distdir) -type d -name SCCS -print` rm -rf `find $(distdir) -type d -name SCCS -print`
rm -f `find $(distdir) -type l -print` rm -f `find $(distdir) -type l -print`
...@@ -107,7 +106,6 @@ dist-hook: ...@@ -107,7 +106,6 @@ dist-hook:
--basedir=$(top_builddir) \ --basedir=$(top_builddir) \
--datadir=$(distdir)/win/data \ --datadir=$(distdir)/win/data \
--srcdir=$(top_srcdir) --srcdir=$(top_srcdir)
debian/rules control-file && cp $(top_builddir)/debian/control $(distdir)/debian/control
tags: tags:
support-files/build-tags support-files/build-tags
......
...@@ -2900,7 +2900,7 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl ...@@ -2900,7 +2900,7 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
cmd-line-utils/libedit/Makefile dnl cmd-line-utils/libedit/Makefile dnl
win/Makefile dnl win/Makefile dnl
zlib/Makefile dnl zlib/Makefile dnl
debian/Makefile debian/defs.mk dnl debian/Makefile debian/defs.mk debian/control dnl
cmd-line-utils/readline/Makefile) cmd-line-utils/readline/Makefile)
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h) AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
AC_OUTPUT AC_OUTPUT
......
...@@ -18,8 +18,8 @@ ifeq ("x$(MYSQL_FLAVOR)","x") ...@@ -18,8 +18,8 @@ ifeq ("x$(MYSQL_FLAVOR)","x")
endif endif
ifneq ("x$(MYSQL_FLAVOR)","x") ifneq ("x$(MYSQL_FLAVOR)","x")
export MYSQL_BASE_VERSION=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION) MYSQL_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_BASE_VERSION)
export MYSQL_PREVIOUS_BASE_VERSION=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION) MYSQL_PREVIOUS_BASE_VERSION:=$(MYSQL_FLAVOR)-$(MYSQL_PREVIOUS_BASE_VERSION)
endif endif
PACKAGE=mysql-$(MYSQL_BASE_VERSION) PACKAGE=mysql-$(MYSQL_BASE_VERSION)
...@@ -210,8 +210,10 @@ clean: configure.in Makefile.am control-file ...@@ -210,8 +210,10 @@ clean: configure.in Makefile.am control-file
rm -f build-stamp rm -f build-stamp
cp debian/defs.mk debian/defs.mk.sav cp debian/defs.mk debian/defs.mk.sav
cp debian/control debian/control.sav
-make distclean -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 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