]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tarwxmotif
mention wxAUI
[wxWidgets.git] / distrib / msw / tarwxmotif
... / ...
CommitLineData
1#!/bin/sh
2# tardist: make up a tar.gz distribution of wxWidgets 2
3# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
4
5init=""
6WXVER=2.2.0
7if [ $1 = "" ]
8then
9 exit
10fi
11
12if [ $2 = "" ]
13then
14 exit
15fi
16
17echo About to archive wxWidgets:
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
28echo Setting permissions...
29chmod a+x $1/configure $1/config.sub $1/config.guess $1/samples/configure $1/demos/configure $1/contrib/configure
30
31rm -f $2/wxMotif-${WXVER}*.tgz
32rm -f $2/wxWidgets*.tgz
33rm -f $2/tex2rtf2.tgz
34rm -f $2/ogl3.tgz
35rm -f $2/jpeg.tgz
36rm -f $2/tiff.tgz
37
38echo Tarring...
39
40### wxMotif
41ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/utilmake.rsp $1/distrib/msw/jpeg.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/wx_html.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp` > /tmp/wxmotif.txt
42tar cvf $2/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt
43gzip $2/wxMotif-${WXVER}.tar
44mv $2/wxMotif-${WXVER}.tar.gz $2/wxMotif-${WXVER}.tgz
45
46### HTML docs
47ls `cat $1/distrib/msw/wx_html.rsp` > /tmp/html.txt
48tar cvf $2/wxWidgets-${WXVER}-HTML.tar -T /tmp/html.txt
49gzip $2/wxWidgets-${WXVER}-HTML.tar
50mv $2/wxWidgets-${WXVER}-HTML.tar.gz $2/wxWidgets-${WXVER}-HTML.tgz
51
52### HTB (wxHTML Help) docs
53ls `cat $1/distrib/msw/wx_htb.rsp` > /tmp/htb.txt
54tar cvf $2/wxWidgets-${WXVER}-HTB.tar -T /tmp/htb.txt
55gzip $2/wxWidgets-${WXVER}-HTB.tar
56mv $2/wxWidgets-${WXVER}-HTB.tar.gz $2/wxWidgets-${WXVER}-HTB.tgz
57
58### PDF docs
59ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp/pdf.txt
60tar cvf $2/wxWidgets-${WXVER}-PDF.tar -T /tmp/pdf.txt
61gzip $2/wxWidgets-${WXVER}-PDF.tar
62mv $2/wxWidgets-${WXVER}-PDF.tar.gz $2/wxWidgets-${WXVER}-PDF.tgz
63
64### Stubs files
65#ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
66#tar cvf $2/wxWidgets-${WXVER}-stubs.tar -T /tmp/stubs.txt
67#gzip $2/wxWidgets-${WXVER}-stubs.tar
68#mv $2/wxWidgets-${WXVER}-stubs.tar.gz $2/wxWidgets-${WXVER}-stubs.tgz
69
70### Tex2RTF
71ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
72tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
73gzip $2/tex2rtf2.tar
74mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
75
76### OGL
77ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
78tar cvf $2/ogl3.tar -T /tmp/ogl.txt
79gzip $2/ogl3.tar
80mv $2/ogl3.tar.gz $2/ogl3.tgz
81
82### JPEG
83#ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
84#tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
85#gzip $2/jpeg.tar
86#mv $2/jpeg.tar.gz $2/jpeg.tgz
87
88### TIFF
89#ls `cat $1/distrib/msw/tiff.rsp` > /tmp/tiff.txt
90#tar cvf $2/tiff.tar -T /tmp/tiff.txt
91#gzip $2/tiff.tar
92#mv $2/tiff.tar.gz $2/tiff.tgz
93
94echo Done!