Makefile.am:

Corrected change to create "win" directory
This commit is contained in:
kent@mysql.com/kent-amd64.(none) 2006-11-29 19:41:48 +01:00
parent 43eba545f3
commit c048bf11ab

View file

@ -92,12 +92,13 @@ bin-dist: all
# Create initial database files for Windows installations.
dist-hook:
rm -rf `find $(distdir) -type d -name SCCS -print`
mkdir -p "$(distdir)/win"
if echo "$(distdir)" | grep -q '^/' ; then \
mkdir -p "$(distdir)/win" ; \
scripts/mysql_install_db --no-defaults --windows \
--basedir=$(top_srcdir) \
--datadir="$(distdir)/win/data"; \
else \
mkdir -p "$$(pwd)/$(distdir)/win" ; \
scripts/mysql_install_db --no-defaults --windows \
--basedir=$(top_srcdir) \
--datadir="$$(pwd)/$(distdir)/win/data"; \