]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tardist
Added wxDbTable::SetOrderByColNums() function
[wxWidgets.git] / distrib / msw / tardist
CommitLineData
33b64e6f
JS
1#!/bin/sh
2# tardist: make up a tar.gz distribution of wxWindows 2
3# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
4
5init=""
f6bcfd97 6WXVER=2.1.16
33b64e6f
JS
7if [ $1 = "" ]
8then
9 exit
10fi
11
12if [ $2 = "" ]
13then
14 exit
15fi
16
17echo About to archive wxWindows:
18echo From $1
19echo To $2
20echo CTRL-C if this is not correct.
21read dummy
22
23cd $1
24
25echo Removing backup files...
26rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
27
f6bcfd97 28rm -f $2/wx${WXVER}*.tgz
b69f1bd1
JS
29rm -f $2/tex2rtf2.tgz
30rm -f $2/ogl3.tgz
75737d05 31rm -f $2/jpeg.tgz
f6bcfd97 32rm -f $2/tiff.tgz
33b64e6f
JS
33
34echo Tarring...
35
b69f1bd1 36### Generic
f5ee2e5f 37ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgen.txt
f6bcfd97
BP
38tar cvf $2/wx${WXVER}gen.tar -T /tmp/wxgen.txt
39gzip $2/wx${WXVER}gen.tar
40mv $2/wx${WXVER}gen.tar.gz $2/wx${WXVER}gen.tgz
b69f1bd1 41
33b64e6f 42### wxGTK
f5ee2e5f 43ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgtk.txt
f6bcfd97
BP
44tar cvf $2/wx${WXVER}gtk.tar -T /tmp/wxgtk.txt
45gzip $2/wx${WXVER}gtk.tar
46mv $2/wx${WXVER}gtk.tar.gz $2/wx${WXVER}gtk.tgz
33b64e6f
JS
47
48### wxMotif
f5ee2e5f 49ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxmotif.txt
f6bcfd97
BP
50tar cvf $2/wx${WXVER}mot.tar -T /tmp/wxmotif.txt
51gzip $2/wx${WXVER}mot.tar
52mv $2/wx${WXVER}mot.tar.gz $2/wx${WXVER}mot.tgz
33b64e6f
JS
53
54### Doc sources
55ls `cat $1/distrib/msw/docsrc.rsp` > /tmp/docsrc.txt
f6bcfd97
BP
56tar cvf $2/wx${WXVER}doc.tar -T /tmp/docsrc.txt
57gzip $2/wx${WXVER}doc.tar
58mv $2/wx${WXVER}doc.tar.gz $2/wx${WXVER}doc.tgz
33b64e6f
JS
59
60### HTML docs
61ls `cat $1/distrib/msw/wx_html.rsp` > /tmp/html.txt
f6bcfd97
BP
62tar cvf $2/wx${WXVER}htm.tar -T /tmp/html.txt
63gzip $2/wx${WXVER}htm.tar
64mv $2/wx${WXVER}htm.tar.gz $2/wx${WXVER}htm.tgz
33b64e6f
JS
65
66### PDF docs
67ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp/pdf.txt
f6bcfd97
BP
68tar cvf $2/wx${WXVER}pdf.tar -T /tmp/pdf.txt
69gzip $2/wx${WXVER}pdf.tar
70mv $2/wx${WXVER}pdf.tar.gz $2/wx${WXVER}pdf.tgz
33b64e6f
JS
71
72### Stubs files
73ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
f6bcfd97
BP
74tar cvf $2/wx${WXVER}stubs.tar -T /tmp/stubs.txt
75gzip $2/wx${WXVER}stubs.tar
76mv $2/wx${WXVER}stubs.tar.gz $2/wx${WXVER}stubs.tgz
33b64e6f
JS
77
78### Tex2RTF
79ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
b69f1bd1
JS
80tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
81gzip $2/tex2rtf2.tar
82mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
33b64e6f
JS
83
84### OGL
85ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
b69f1bd1
JS
86tar cvf $2/ogl3.tar -T /tmp/ogl.txt
87gzip $2/ogl3.tar
88mv $2/ogl3.tar.gz $2/ogl3.tgz
33b64e6f 89
75737d05
JS
90### JPEG
91ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
92tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
93gzip $2/jpeg.tar
94mv $2/jpeg.tar.gz $2/jpeg.tgz
95
f6bcfd97
BP
96### TIFF
97ls `cat $1/distrib/msw/tiff.rsp` > /tmp/tiff.txt
98tar cvf $2/tiff.tar -T /tmp/tiff.txt
99gzip $2/tiff.tar
100mv $2/tiff.tar.gz $2/tiff.tgz
101
33b64e6f 102echo Done!