diff options
author | unknown <kent@mysql.com> | 2005-05-18 16:04:44 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-05-18 16:04:44 +0200 |
commit | 6e1e571b3516c705684fd4e745af355f9875afee (patch) | |
tree | 4640f6ae41ebebbe7275a3c4fbab8bcbf95a31c9 /scripts | |
parent | a2502ed415bbc08dd739775cff83f649e24c96a3 (diff) | |
download | mariadb-git-6e1e571b3516c705684fd4e745af355f9875afee.tar.gz |
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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/make_win_src_distribution.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/make_win_src_distribution.sh b/scripts/make_win_src_distribution.sh index 8fdf23f3119..6165a31fac2 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 \ + *.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 @@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze # Input directories to be copied recursively # -for i in bdb innobase ndb +for i in bdb innobase ndb extra/yassl do copy_dir_dirs $i done @@ -328,6 +328,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 # |