diff options
author | scottlee@calico.site <> | 2006-10-02 23:05:52 -0400 |
---|---|---|
committer | scottlee@calico.site <> | 2006-10-02 23:05:52 -0400 |
commit | 3eaee36070e831dff2b64b8c76e595d855f126d2 (patch) | |
tree | 13b558848a2f81ec4dcc8f2a79b762691157e44b /Makefile.am | |
parent | 36a28d1f37c253c8ee635c245fd546cbe08c2572 (diff) | |
download | mariadb-git-3eaee36070e831dff2b64b8c76e595d855f126d2.tar.gz |
Back port change from 5.1 that adds the Windows database files to the source package.
This is needed for WiX pacakging.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index d48f0e24966..474d268db38 100644 --- a/Makefile.am +++ b/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 |