diff options
author | knielsen@mysql.com <> | 2006-03-30 11:02:52 +0200 |
---|---|---|
committer | knielsen@mysql.com <> | 2006-03-30 11:02:52 +0200 |
commit | ce4463a13943e0b08e11b2eaf5c5a4362e5dfafa (patch) | |
tree | e085680734cbcceaac0944ca9c0014a8b702e12c /Makefile.am | |
parent | 2b1f521286e6a8bf9bed3a40b42d9868db45b147 (diff) | |
download | mariadb-git-ce4463a13943e0b08e11b2eaf5c5a4362e5dfafa.tar.gz |
Add some stuff to source package needed for CMake Windows packaging.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 3d49ce03c12..3f17cbe797d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,8 +95,16 @@ 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 \ + --datadir="$(distdir)/win/data"; \ + else \ + scripts/mysql_install_db --no-defaults --windows \ + --datadir="$$(pwd)/$(distdir)/win/data"; \ + fi tags: support-files/build-tags |