comparison mk-dist @ 2954:f0fe5698ee67

also strip exe files
author John W. Eaton <jwe@octave.org>
date Fri, 11 Jan 2013 12:57:08 -0500
parents 1afd21db3bf1
children dfa81fbfc1f5
comparison
equal deleted inserted replaced
2953:9ee646095047 2954:f0fe5698ee67
54 echo "making all files writable by user..." 54 echo "making all files writable by user..."
55 chmod -R u+w $TOPDIR/dist/octave 55 chmod -R u+w $TOPDIR/dist/octave
56 56
57 echo "stripping files..." 57 echo "stripping files..."
58 cd $TOPDIR/dist/octave 58 cd $TOPDIR/dist/octave
59 for f in $(find . -name '*.dll'); do 59 for f in $(find . -name '*.dll' -o -name '*.exe'); do
60 echo " $f" 60 echo " $f"
61 $STRIP $f 61 $STRIP $f
62 done 62 done
63 63
64 echo "creating tar file..." 64 echo "creating tar file..."
65 cd $TOPDIR/dist 65 cd $TOPDIR/dist
66 tar -c -j -f octave.tar.bz2 octave 66 #tar -c -j -f octave.tar.bz2 octave
67 zip -q -9 -r octave.zip octave