Back port change from 5.1 that adds the Windows database files to the source package.
This is needed for WiX pacakging.
This commit is contained in:
parent
36a28d1f37
commit
3eaee36070
10
Makefile.am
10
Makefile.am
@ -89,8 +89,18 @@ bin-dist: all
|
||||
$(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
|
||||
|
||||
# Remove BK's "SCCS" subdirectories from source distribution
|
||||
# Create initial database files for Windows installations.
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir) -type d -name SCCS -print`
|
||||
if echo "$(distdir)" | grep -q '^/' ; then \
|
||||
scripts/mysql_install_db --no-defaults --windows \
|
||||
--basedir=$(top_srcdir) \
|
||||
--datadir="$(distdir)/win/data"; \
|
||||
else \
|
||||
scripts/mysql_install_db --no-defaults --windows \
|
||||
--basedir=$(top_srcdir) \
|
||||
--datadir="$$(pwd)/$(distdir)/win/data"; \
|
||||
fi
|
||||
|
||||
tags:
|
||||
support-files/build-tags
|
||||
|
Loading…
x
Reference in New Issue
Block a user