]>
git.saurik.com Git - wxWidgets.git/blob - distrib/msw/zipmac.sh
3 # Zip up an external, generic + Windows distribution of wxWindows 2
4 # Usage: zipmac.sh dest-dir
5 # (set the WXWIN variable first so it knows where to take the sources from)
7 if [ "$OS" = "Windows_NT" ]; then
9 CYGPATHPROGW
="cygpath -w"
10 CYGPATHPROGU
="cygpath -u"
17 SRC
=`$CYGPATHPROGU $WXWIN`
20 # Set this to the required version
30 for line
in `cat $toexpand` ; do
31 if [ $line != "" ]; then
32 ls $line >> $outputfile
37 if [ ! -d "$SRC" ]; then
42 if [ ! -d "$DEST" ]; then
47 echo Creating distribution
in $DEST. Press
return to
continue.
50 # Remove all existing files
53 if [ ! -d "$DEST/wx" ]; then
61 expandlines
$SRC/distrib
/msw
/generic.rsp temp.txt
62 zip -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
64 expandlines
$SRC/distrib
/msw
/mac.rsp temp.txt
65 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
67 expandlines
$SRC/distrib
/msw
/cw.rsp temp.txt
68 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
70 expandlines
$SRC/distrib
/msw
/tiff.rsp temp.txt
71 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
73 expandlines
$SRC/distrib
/msw
/jpeg.rsp temp.txt
74 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
76 expandlines
$SRC/distrib
/msw
/tex2rtf.rsp temp.txt
77 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
79 expandlines
$SRC/distrib
/msw
/dialoged.rsp temp.txt
80 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
82 expandlines
$SRC/distrib
/msw
/ogl.rsp temp.txt
83 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
85 expandlines
$SRC/distrib
/msw
/xml.rsp temp.txt
86 zip -u -@
`$CYGPATHPROGW $DEST/wxMac-$VERSION.zip` < temp.txt
88 expandlines
$SRC/distrib
/msw
/wx_html.rsp temp.txt
89 zip -@
`$CYGPATHPROGW $DEST/wxWindows-$VERSION-HTML.zip` < temp.txt
93 echo wxWindows archived.