Commit 6e1e571b authored by unknown's avatar unknown

make_win_src_distribution.sh:

  Add YASSL to Windows source distribution
  Skip .deps, and remove .o files from source dist


scripts/make_win_src_distribution.sh:
  Add YASSL to Windows source distribution
  Skip .deps, and remove .o files from source dist
parent a2502ed4
...@@ -199,11 +199,10 @@ copy_dir_files() ...@@ -199,11 +199,10 @@ copy_dir_files()
print_debug "Creating directory '$arg'" print_debug "Creating directory '$arg'"
mkdir $BASE/$arg mkdir $BASE/$arg
fi fi
for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp \ for i in *.c *.cpp *.h *.ih *.i *.ic *.asm *.def *.hpp *.dsp *.dsw \
README INSTALL* LICENSE *.inc *.test *.result \ README INSTALL* LICENSE AUTHORS NEWS ChangeLog \
*.pem Moscow_leap des_key_file *.dat *.000001 \ *.inc *.test *.result *.pem Moscow_leap des_key_file \
*.require *.opt *.dat *.000001 *.require *.opt
do do
if [ -f $i ] if [ -f $i ]
then then
...@@ -234,6 +233,7 @@ copy_dir_dirs() { ...@@ -234,6 +233,7 @@ copy_dir_dirs() {
find $arg -type d \ find $arg -type d \
-and -not -path \*SCCS\* \ -and -not -path \*SCCS\* \
-and -not -path \*.deps\* \ -and -not -path \*.deps\* \
-and -not -path \*.libs\* \
-and -not -path \*autom4te.cache -print -and -not -path \*autom4te.cache -print
)|( )|(
while read v while read v
...@@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze ...@@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze
# Input directories to be copied recursively # Input directories to be copied recursively
# #
for i in bdb innobase ndb for i in bdb innobase ndb extra/yassl
do do
copy_dir_dirs $i copy_dir_dirs $i
done done
...@@ -328,6 +328,8 @@ do ...@@ -328,6 +328,8 @@ do
$CP -R $i $BASE/$i $CP -R $i $BASE/$i
fi fi
fi fi
# But remove object files from destination
find $BASE/$i -type f -name \*.o | xargs rm -f
done done
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment