diff options
author | unknown <scottlee@calico.site> | 2006-10-02 23:05:52 -0400 |
---|---|---|
committer | unknown <scottlee@calico.site> | 2006-10-02 23:05:52 -0400 |
commit | 0f3a12870ea59429854afb7c9db1df56cce4ac05 (patch) | |
tree | 13b558848a2f81ec4dcc8f2a79b762691157e44b /Makefile.am | |
parent | 2d2d93bbcb2e8b17bbcff0af0b438150bdfa0efe (diff) | |
download | mariadb-git-0f3a12870ea59429854afb7c9db1df56cce4ac05.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 |