Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f6f164d0
Commit
f6f164d0
authored
Oct 11, 2009
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add win/make_mariadb_win_dist which is to be used to make windows
binary distribution zips.
parent
bee8d960
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
1 deletion
+59
-1
win/Makefile.am
win/Makefile.am
+1
-1
win/make_mariadb_win_dist
win/make_mariadb_win_dist
+58
-0
No files found.
win/Makefile.am
View file @
f6f164d0
...
...
@@ -17,7 +17,7 @@
EXTRA_DIST
=
build-vs71.bat build-vs8.bat build-vs8_x64.bat build-vs9.bat
\
build-vs9_x64.bat configure.js README mysql_manifest.cmake
\
create_manifest.js create_def_file.js build-nmake.bat
\
build-nmake-x64.bat configure-mariadb.sh
build-nmake-x64.bat configure-mariadb.sh
make_mariadb_win_dist
# Don't update the files from bitkeeper
%
::
SCCS/s.%
win/make_mariadb_win_dist
0 → 100644
View file @
f6f164d0
#!/bin/sh
#
# This is a script that one needs to run in the source tarball to build
# a MariaDB release for Windows
#
set
-e
if
[
!
-d
win/data
]
;
then
echo
This doesnt seem to be
source
tarball.
echo
This script should be run from the top directory of the
source
tarball
echo
that was produced by
'make dist'
exit
1
;
fi
set
-x
win/configure-mariadb.sh
cmake
-G
"Visual Studio 9 2008"
devenv MySQL.sln /build RelWithDebInfo
devenv MySQL.sln /build Debug
# TODO extract version number
VER
=
`
cat
configure.in |
perl
-e
'while (<>) { if (/^AM_INIT_AUTOMAKE\([a-z ]*, *([0-9a-z\.-]+)/) { print "$1\n"; exit(0)} } ; exit 1'
`
echo
Version string:
$VER
.
ZIPNAME
=
mariadb-
$VER
-win32-noinstall
ZIPFILE
=
"
$ZIPNAME
.zip"
echo
sh
-x
scripts/make_win_bin_dist
$ZIPFILE
rm
-rf
unpack
mkdir
unpack
cd
unpack
wget
-O
base.list.gz
\
http://askmonty.org/wiki/images/6/6c/Mariadb-5.1-pre-beta-file-list.txt.gz
gunzip
base.list.gz
unzip ../
$ZIPFILE
(
cd
$ZIPNAME
;
/bin/find
.
|
sort
)
>
new.list
set
+x
diff
-u
base.list new.list
||
true
RES
=
$?
set
-x
cd
..
rm
-rf
unpack
echo
"
$ZIPFILE
is the Windows noinstall binary zip"
if
[
$RES
]
;
then
echo
"Archive contents differ from the standard file list, check the diff output above"
else
echo
"Archive contents match the standard list"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment