diff options
author | unknown <knielsen@mysql.com> | 2006-03-30 11:02:52 +0200 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2006-03-30 11:02:52 +0200 |
commit | 03b14c9eca7063dacaad32706730b196491b811b (patch) | |
tree | e085680734cbcceaac0944ca9c0014a8b702e12c /Makefile.am | |
parent | 4d30f784a4804214700081737ed3192b39c12db2 (diff) | |
download | mariadb-git-03b14c9eca7063dacaad32706730b196491b811b.tar.gz |
Add some stuff to source package needed for CMake Windows packaging.
Docs/Makefile.am:
Include Windows manual in source package (if available), needed for CMake
packaging.
Makefile.am:
Include initial Windows database files in source package, needed for
CMake 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 |