summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-09-30 14:03:55 +0200
committerkent@mysql.com <>2005-09-30 14:03:55 +0200
commit21cf818a8db346fb6f87d4fa888dea311f23287b (patch)
treefab20f1a14a3c69619b8c5adec3c339f5fd08317 /scripts
parent12c443d0fe4dcf76e2a18865c9049fa0ce3a5f15 (diff)
downloadmariadb-git-21cf818a8db346fb6f87d4fa888dea311f23287b.tar.gz
Many files:
New VC7 project files des_key_file.cc: Visual C++ wants '"' for local include mysql.cc: Cast my_cgets() argument for VC6 and VC7 dummy.cpp: Added to convince VS .Net generate a lib for mysqlserver
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_win_src_distribution.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/scripts/make_win_src_distribution.sh b/scripts/make_win_src_distribution.sh
index 71d61b7a02d..15e9b106da8 100644
--- a/scripts/make_win_src_distribution.sh
+++ b/scripts/make_win_src_distribution.sh
@@ -199,11 +199,10 @@ copy_dir_files()
print_debug "Creating directory '$arg'"
mkdir $BASE/$arg
fi
- for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp \
- README INSTALL* LICENSE *.inc *.test *.result \
- *.pem Moscow_leap des_key_file *.dat *.000001 \
- *.require *.opt
-
+ for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp *.dsw \
+ README INSTALL* LICENSE AUTHORS NEWS ChangeLog \
+ *.inc *.test *.result *.pem Moscow_leap des_key_file \
+ *.vcproj *.sln *.dat *.000001 *.require *.opt
do
if [ -f $i ]
then
@@ -234,6 +233,7 @@ copy_dir_dirs() {
find $arg -type d \
-and -not -path \*SCCS\* \
-and -not -path \*.deps\* \
+ -and -not -path \*.libs\* \
-and -not -path \*autom4te.cache -print
)|(
while read v
@@ -326,6 +326,8 @@ do
$CP -R $i $BASE/$i
fi
fi
+ # But remove object files from destination
+ find $BASE/$i -type f -name \*.o | xargs rm -f
done
#
@@ -339,7 +341,9 @@ mv $BASE/sql/sql_yacc.cpp-new $BASE/sql/sql_yacc.cpp
# Search the tree for plain text files and adapt the line end marker
#
find $BASE \( -name "*.dsp" -o -name "*.dsw" -o -name "*.cnf" -o -name "*.ini" \
- -o -name COPYING -o -name ChangeLog -o -name EXCEPTIONS-CLIENT -o -name "INSTALL*" -o -name LICENSE -o -name "README*" \) -type f -print \
+ -o -name COPYING -o -name ChangeLog -o -name EXCEPTIONS-CLIENT \
+ -o -name "INSTALL*" -o -name LICENSE -o -name "README*" \
+ -o -name "*.vcproj" -o -name "*.sln" \) -type f -print \
| while read v
do
unix_to_dos $v