2 # tardist: make up a tar.gz distribution of wxWidgets 2
3 # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
17 echo About to archive wxWidgets
:
20 echo CTRL
-C if this is not correct.
25 echo Removing backup files...
26 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
28 echo Setting permissions...
29 chmod a
+x
$1/configure
$1/config.sub
$1/config.guess
$1/samples
/configure
$1/demos
/configure
$1/contrib
/configure
31 rm -f $2/wxMotif
-${WXVER}*.tgz
32 rm -f $2/wxWidgets
*.tgz
41 ls `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
42 tar cvf
$2/wxMotif
-${WXVER}.
tar -T /tmp
/wxmotif.txt
43 gzip $2/wxMotif
-${WXVER}.
tar
44 mv $2/wxMotif
-${WXVER}.
tar.gz
$2/wxMotif
-${WXVER}.tgz
47 ls `cat $1/distrib/msw/wx_html.rsp` > /tmp
/html.txt
48 tar cvf
$2/wxWidgets
-${WXVER}-HTML.
tar -T /tmp
/html.txt
49 gzip $2/wxWidgets
-${WXVER}-HTML.
tar
50 mv $2/wxWidgets
-${WXVER}-HTML.
tar.gz
$2/wxWidgets
-${WXVER}-HTML.tgz
52 ### HTB (wxHTML Help) docs
53 ls `cat $1/distrib/msw/wx_htb.rsp` > /tmp
/htb.txt
54 tar cvf
$2/wxWidgets
-${WXVER}-HTB.
tar -T /tmp
/htb.txt
55 gzip $2/wxWidgets
-${WXVER}-HTB.
tar
56 mv $2/wxWidgets
-${WXVER}-HTB.
tar.gz
$2/wxWidgets
-${WXVER}-HTB.tgz
59 ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp
/pdf.txt
60 tar cvf
$2/wxWidgets
-${WXVER}-PDF.
tar -T /tmp
/pdf.txt
61 gzip $2/wxWidgets
-${WXVER}-PDF.
tar
62 mv $2/wxWidgets
-${WXVER}-PDF.
tar.gz
$2/wxWidgets
-${WXVER}-PDF.tgz
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
71 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp
/tex2rtf.txt
72 tar cvf
$2/tex2rtf2.
tar -T /tmp
/tex2rtf.txt
74 mv $2/tex2rtf2.
tar.gz
$2/tex2rtf2.tgz
77 ls `cat $1/distrib/msw/ogl.rsp` > /tmp
/ogl.txt
78 tar cvf
$2/ogl3.
tar -T /tmp
/ogl.txt
80 mv $2/ogl3.
tar.gz
$2/ogl3.tgz
83 #ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
84 #tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
86 #mv $2/jpeg.tar.gz $2/jpeg.tgz
89 #ls `cat $1/distrib/msw/tiff.rsp` > /tmp/tiff.txt
90 #tar cvf $2/tiff.tar -T /tmp/tiff.txt
92 #mv $2/tiff.tar.gz $2/tiff.tgz